Annotation of wikisrc/wiki/cvs.mdwn, revision 1.8
1.7 schmonz 1: #### Getting `wikisrc`
1.1 schmonz 2:
3: $ cvs -d <username>@wiki.netbsd.org:/cvsroot get wikisrc
4:
1.8 ! schmonz 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:
1.7 schmonz 10: #### Creating page "Foo Bar"
1.5 wiki 11:
12: $ cd .../wikisrc
1.7 schmonz 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
1.1 schmonz 17:
1.7 schmonz 18: #### Editing page "Foo Bar"
1.1 schmonz 19:
20: $ cd .../wikisrc
1.7 schmonz 21: $ $EDITOR foo_bar.mdwn
22: $ cvs commit -m "more about Foo Bar" foo_bar.mdwn
1.1 schmonz 23:
1.2 schmonz 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_.
1.1 schmonz 27:
28: #### Previewing your changes
29:
1.4 schmonz 30: For a somewhat representative rendering, without benefit of the
31: wiki's config file:
1.3 schmonz 32:
1.6 wiki 33: $ cd .../pkgsrc/www/ikiwiki && make install clean
1.7 schmonz 34: $ cd .../wikisrc && ikiwiki `pwd` /dev/null --render foo_bar.mdwn | less
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb