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 (4 years, 4 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by schmonz: how to create a page

#### Getting wikisrc

    $ cvs -d <username>@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"

    $ cd .../wikisrc
    $ $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_.

#### 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 `pwd` /dev/null --render foo.mdwn | less

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