summaryrefslogtreecommitdiff
path: root/backend/ikiwiki.setup
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ikiwiki.setup')
-rw-r--r--backend/ikiwiki.setup27
1 files changed, 25 insertions, 2 deletions
diff --git a/backend/ikiwiki.setup b/backend/ikiwiki.setup
index 0d71995..0153c4c 100644
--- a/backend/ikiwiki.setup
+++ b/backend/ikiwiki.setup
@@ -36,11 +36,13 @@ cgi_overload_message: ''
# enable optimization of only refreshing committed changes?
only_committed_changes: 0
# rcs backend to use
-rcs: ''
+rcs: git
# plugins to add to the default configuration
add_plugins:
- ikistrap
- repolist
+- ikistrap
+- repolist
# plugins to disable
disable_plugins: []
# additional directory to search for template files
@@ -105,9 +107,30 @@ useragent: ikiwiki/3.20141016.3
######################################################################
# core plugins
-# (editpage, htmlscrubber, inline, link, meta, parentlinks, templatebody)
+# (editpage, git, htmlscrubber, inline, link, meta, parentlinks,
+# templatebody)
######################################################################
+# git plugin
+# git hook to generate
+#git_wrapper: /git/wiki.git/hooks/post-update
+# shell command for git_wrapper to run, in the background
+#git_wrapper_background_command: git push github
+# mode for git_wrapper (can safely be made suid)
+#git_wrappermode: 06755
+# git pre-receive hook to generate
+#git_test_receive_wrapper: /git/wiki.git/hooks/pre-receive
+# unix users whose commits should be checked by the pre-receive hook
+#untrusted_committers: []
+# gitweb url to show file history ([[file]] substituted)
+#historyurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=history;f=[[file]];hb=HEAD
+# gitweb url to show a diff ([[file]], [[sha1_to]], [[sha1_from]], [[sha1_commit]], and [[sha1_parent]] substituted)
+#diffurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]
+# where to pull and push changes (set to empty string to disable)
+gitorigin_branch: origin
+# branch that the wiki is stored in
+gitmaster_branch: master
+
# htmlscrubber plugin
# PageSpec specifying pages not to scrub
#htmlscrubber_skip: '!*/Discussion'