version 1.6, 2010/03/31 21:30:23
|
version 1.7, 2010/07/03 20:53:49
|
Line 1
|
Line 1
|
#### Getting wikisrc |
#### Getting `wikisrc` |
|
|
$ cvs -d <username>@wiki.netbsd.org:/cvsroot get wikisrc |
$ cvs -d <username>@wiki.netbsd.org:/cvsroot get wikisrc |
|
|
#### Creating page "foo" |
#### Creating page "Foo Bar" |
|
|
$ cd .../wikisrc |
$ cd .../wikisrc |
$ $EDITOR foo.mdwn |
$ echo '\[[!meta title="Foo Bar, or, A Nice-Looking Title"]]' > foo_bar.mdwn |
$ cvs add foo.mdwn |
$ $EDITOR foo_bar.mdwn |
$ cvs commit -m "all about foo" foo.mdwn |
$ cvs add foo_bar.mdwn |
|
$ cvs commit -m "all about Foo Bar" foo_bar.mdwn |
|
|
#### Editing page "foo" |
#### Editing page "Foo Bar" |
|
|
$ cd .../wikisrc |
$ cd .../wikisrc |
$ $EDITOR foo.mdwn |
$ $EDITOR foo_bar.mdwn |
$ cvs commit -m "all about foo" foo.mdwn |
$ cvs commit -m "more about Foo Bar" foo_bar.mdwn |
|
|
When you commit to `wikisrc`, the pages affected by your edit are |
When you commit to `wikisrc`, the pages affected by your edit are |
automatically regenerated. Your change will be displayed in |
automatically regenerated. Your change will be displayed in |
Line 25 For a somewhat representative rendering,
|
Line 26 For a somewhat representative rendering,
|
wiki's config file: |
wiki's config file: |
|
|
$ cd .../pkgsrc/www/ikiwiki && make install clean |
$ cd .../pkgsrc/www/ikiwiki && make install clean |
$ cd .../wikisrc && ikiwiki `pwd` /dev/null --render foo.mdwn | less |
$ cd .../wikisrc && ikiwiki `pwd` /dev/null --render foo_bar.mdwn | less |