File:  [NetBSD Developer Wiki] / wikisrc / wiki / cvs.mdwn
Revision 1.7: download - view: text, annotated - select for diffs
Sat Jul 3 20:53:49 2010 UTC (12 years, 2 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
Wrap lines. Demonstrate a page title containing spaces and capital
letters.  Provide instructions for non-developers. Note that saving
a web edit results in a commit.

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

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