--- wikisrc/wiki/cvs.mdwn 2009/10/21 01:06:48 1.1.1.1 +++ wikisrc/wiki/cvs.mdwn 2009/12/18 20:51:02 1.5 @@ -2,6 +2,12 @@ $ cvs -d @wiki.netbsd.org:/cvsroot get wikisrc +#### Creating page "foo" + + $ cd .../wikisrc + $ $EDITOR foo.mdwn + $ cvs add foo.mdwn + $ cvs commit -m "all about foo" foo.mdwn #### Editing page "foo" @@ -9,9 +15,14 @@ $ $EDITOR foo.mdwn $ cvs commit -m "all about foo" foo.mdwn -When you commit to `wikisrc`, the pages affected by your edit are automatically regenerated. Your change will be displayed in [[RecentChanges]] as type _cvs_. +When you commit to `wikisrc`, the pages affected by your edit are +automatically regenerated. Your change will be displayed in +[[RecentChanges]] as type _cvs_. #### 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 --render foo.mdwn + $ cd .../wikisrc && ikiwiki `pwd` /dev/null --render foo.mdwn | less