File:  [NetBSD Developer Wiki] / wikisrc / wiki / cvs.mdwn
Revision 1.6: download - view: text, annotated - select for diffs
Wed Mar 31 21:30:23 2010 UTC (12 years, 4 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by schmonz: pkgsrc install target does what people expect again

    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 install clean
   28:     $ cd .../wikisrc && ikiwiki `pwd` /dev/null --render foo.mdwn | less

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