File:  [NetBSD Developer Wiki] / wikisrc / wiki / cvs.mdwn
Revision 1.5: download - view: text, annotated - select for diffs
Fri Dec 18 20:51:02 2009 UTC (13 years, 11 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by schmonz: how to create a page

    1: #### Getting wikisrc
    2: 
    3:     $ cvs -d <username>@wiki.netbsd.org:/cvsroot get wikisrc
    4: 
    5: #### Creating page "foo"
    6: 
    7:     $ cd .../wikisrc
    8:     $ $EDITOR foo.mdwn
    9:     $ cvs add foo.mdwn
   10:     $ cvs commit -m "all about foo" foo.mdwn
   11: 
   12: #### Editing page "foo"
   13: 
   14:     $ cd .../wikisrc
   15:     $ $EDITOR foo.mdwn
   16:     $ cvs commit -m "all about foo" foo.mdwn
   17: 
   18: When you commit to `wikisrc`, the pages affected by your edit are
   19: automatically regenerated. Your change will be displayed in
   20: [[RecentChanges]] as type _cvs_.
   21: 
   22: #### Previewing your changes
   23: 
   24: For a somewhat representative rendering, without benefit of the
   25: wiki's config file:
   26: 
   27:     $ cd .../pkgsrc/www/ikiwiki && make package-install clean
   28:     $ cd .../wikisrc && ikiwiki `pwd` /dev/null --render foo.mdwn | less

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb