--- wikisrc/wiki/cvs.mdwn 2009/12/18 20:51:02 1.5 +++ wikisrc/wiki/cvs.mdwn 2014/01/11 01:48:16 1.10 @@ -1,19 +1,25 @@ -#### Getting wikisrc +#### Getting `wikisrc` $ cvs -d @wiki.netbsd.org:/cvsroot get wikisrc -#### Creating page "foo" +/!\ `wiki.netbsd.org` != `cvs.netbsd.org`, so your SSH public keys +can drift out of sync; if they've drifted so far that you can't fix +it yourself, file a ticket to `admins@` requesting that they copy +your keys over from `nbcvs`. + +#### Creating page "Foo Bar" $ cd .../wikisrc - $ $EDITOR foo.mdwn - $ cvs add foo.mdwn - $ cvs commit -m "all about foo" foo.mdwn + $ echo '\[[!meta title="Foo Bar, or, A Nice-Looking Title"]]' > foo_bar.mdwn + $ $EDITOR foo_bar.mdwn + $ cvs add foo_bar.mdwn + $ cvs commit -m "all about Foo Bar" foo_bar.mdwn -#### Editing page "foo" +#### Editing page "Foo Bar" $ cd .../wikisrc - $ $EDITOR foo.mdwn - $ cvs commit -m "all about foo" foo.mdwn + $ $EDITOR foo_bar.mdwn + $ cvs commit -m "more about Foo Bar" foo_bar.mdwn When you commit to `wikisrc`, the pages affected by your edit are automatically regenerated. Your change will be displayed in @@ -21,8 +27,4 @@ automatically regenerated. Your change w #### Previewing your changes -For a somewhat representative rendering, without benefit of the -wiki's config file: - - $ cd .../pkgsrc/www/ikiwiki && make package-install clean - $ cd .../wikisrc && ikiwiki `pwd` /dev/null --render foo.mdwn | less +See [[Preview setup page|previewing_with_template]].