--- wikisrc/wiki/cvs.mdwn 2009/10/21 01:15:50 1.2 +++ wikisrc/wiki/cvs.mdwn 2010/07/03 20:53:49 1.7 @@ -1,13 +1,20 @@ -#### Getting wikisrc +#### Getting `wikisrc` $ cvs -d @wiki.netbsd.org:/cvsroot get wikisrc +#### Creating page "Foo Bar" -#### Editing page "foo" + $ cd .../wikisrc + $ 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 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 @@ -15,5 +22,8 @@ automatically regenerated. Your change w #### Previewing your changes - $ cd .../pkgsrc/www/ikiwiki && make package-install clean - $ cd .../wikisrc && ikiwiki --render foo.mdwn +For a somewhat representative rendering, without benefit of the +wiki's config file: + + $ cd .../pkgsrc/www/ikiwiki && make install clean + $ cd .../wikisrc && ikiwiki `pwd` /dev/null --render foo_bar.mdwn | less