File:  [NetBSD Developer Wiki] / wikisrc / wiki / cvs.mdwn
Revision 1.8: download - view: text, annotated - select for diffs
Sat Feb 11 19:16:48 2012 UTC (10 years, 7 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
Document what manu@ did, because it was right.

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

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