Documentation: URLs Change-Id: Icf5e79724e973b47258be8835f2a89cc144e0d4c
diff --git a/Documentation/config.md b/Documentation/config.md index d5243ac..0da86d7 100644 --- a/Documentation/config.md +++ b/Documentation/config.md
@@ -16,6 +16,25 @@ siteTitle = Acme Inc. Git Browser ``` +### URLs + +`canonicalHostName`. +Default: `null`, determine the hostname from the local host. + +`baseGitUrl` the base URL for git repositories. + +`gerritUrl`, URL prefix to linkify Gerrit `Change-Id` headers in commit +messages. If you are using the Gerrit Gitiles plugin, this is set based on +Gerrit's configuration. +Default: `null`, do not link `Change-Id`. + +``` +[gitiles] + canonicalHostName = gitiles.example.org + gerritUrl = https://gerrit.example.org/r/ + baseGitUrl = git://git.example.org/ +``` + ### Fixed time zone By default dates are formatted including the local user time zone as that