2009-04-05 00:04:20 +02:00
|
|
|
[Darcs](http://darcs.new) is a distributed revison control
|
|
|
|
system. Ikiwiki supports storing a wiki in a
|
|
|
|
Darcs repository.
|
|
|
|
|
|
|
|
An Ikiwiki wrapper is run by the `posthook` to update a wiki whenever commits
|
|
|
|
or remote pushes come in. When running as a [[cgi]] with Darcs, ikiwiki
|
|
|
|
automatically commits edited pages, and uses the Darcs history to generate the
|
2022-10-03 05:03:57 +02:00
|
|
|
[[Json.tl.ph]] page.
|
2009-04-05 00:04:20 +02:00
|
|
|
|
|
|
|
Example for a `_darcs/prefs/defaults` file in `$SRCDIR`:
|
|
|
|
|
2009-04-05 00:17:38 +02:00
|
|
|
apply posthook /path/to/repository/_darcs/ikiwiki-wrapper
|
2009-04-05 00:04:20 +02:00
|
|
|
apply run-posthook
|
|
|
|
|
|
|
|
See also [[todo/darcs|todo/darcs]]
|