version 1.1.1.1, 2009/10/21 01:06:48
|
version 1.9, 2014/01/11 01:43:32
|
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 |
|
|
|
/!\ `wiki.netbsd.org` != `cvs.netbsd.org`, so your SSH public keys |
|
can drift out of sync; if they've drifted so far that you can't fix |
|
it yourself, file a ticket to `admins@` requesting that they copy |
|
your keys over from `nbcvs`. |
|
|
#### Editing 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 commit -m "all about foo" foo.mdwn |
$ $EDITOR foo_bar.mdwn |
|
$ cvs add foo_bar.mdwn |
|
$ cvs commit -m "all about Foo Bar" foo_bar.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_. |
#### Editing page "Foo Bar" |
|
|
|
$ cd .../wikisrc |
|
$ $EDITOR foo_bar.mdwn |
|
$ cvs commit -m "more about Foo Bar" foo_bar.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 |
#### Previewing your changes |
|
|
$ cd .../pkgsrc/www/ikiwiki && make package-install clean |
See [[previewing_with_template|Preview setup page]]. |
$ cd .../wikisrc && ikiwiki --render foo.mdwn |
|