summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-10-15 14:30:07 +0200
committerJonas Smedegaard <dr@jones.dk>2021-10-15 14:30:07 +0200
commit9e75060320484d927e9ccae56ee6eb74fcb5fa63 (patch)
tree4f9e98189f30a90948f5a92bf1d431439c6c872b
parent61263eb64ae3224d6581837058626b3520f0f787 (diff)
cover web hook for simple hosting, and improve wording slightly
-rw-r--r--ADMIN.md31
-rw-r--r--SETUP.md2
2 files changed, 27 insertions, 6 deletions
diff --git a/ADMIN.md b/ADMIN.md
index 5b4635a..c530cad 100644
--- a/ADMIN.md
+++ b/ADMIN.md
@@ -3,8 +3,8 @@
## Special strings
-NB! This documentation uses special strings
-which you may want to adapt for your local setup:
+NB! This documentation includes the following special strings
+used e.g. when generating a documentation website:
gitshellhost: git.example.org
@@ -19,7 +19,28 @@ Clone the gitolite3 settings repository:
## Web export
edit the file gitolite.conf
-to add FIXME to repos that should be exported for web publishing,
-e.g. add these likes to add repository "foobar":
+to add a section for each git repository it should host,
+defining access rights,
+and passing hints to a server-side export hook.
- FIXME
+
+### Simple web hosting
+
+E.g. like this for an example repository "foobar",
+with a simple web export of the git branch "main":
+
+```
+repo foobar
+ RW+ = @all
+ option ENV.WEB_BRANCH = main
+```
+
+
+### Ikiwiki web hosting
+
+```
+repo some-iki-site
+ RW+ = @all
+ option ENV.WEB_BRANCH = main
+ option ENV.WEB_BRANCH = main
+```
diff --git a/SETUP.md b/SETUP.md
index b37ff80..b5af5d1 100644
--- a/SETUP.md
+++ b/SETUP.md
@@ -4,7 +4,7 @@
## Special strings
NB! This documentation includes the following special strings
-used when integrating it e.g. for a documentation website:
+used e.g. when generating a documentation website:
redpill_root: /usr/local/share/redpill
feature_root: /usr/local/share/redpill/source-hosting