Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Document virtual-root's default of SCRIPT_NAME
cgit falls back to SCRIPT_NAME followed by a slash when virtual-root is unset, so its links always take the path form and none take the ?url= form the docs described.
Diffstat (limited to '')
-rw-r--r--MANUAL.txt6
1 file changed, 3 insertions, 3 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 4f45d90..10592cd 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -575,9 +575,9 @@ trust-scan-config::
"enable-git-config".
virtual-root::
- Url which, if specified, is used as root for all cgit links. cgit then
- generates virtual urls such as "/cgit/tree/README" in place of
- "?url=cgit/tree/README". Default value: none.
+ Url used as root for all cgit links, such as "/cgit/" for links like
+ "/cgit/repo/tree/README". Default value: SCRIPT_NAME followed by a
+ slash.
Repository settings