summaryrefslogtreecommitdiffstats
path: root/gitweb.conf.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-30 16:34:40 +0900
committerJunio C Hamano <gitster@pobox.com>2018-10-30 16:34:40 +0900
commit94d00a5c4ebb12f2552118f261d8f82c05c2501d (patch)
tree89cfa22e35b5476dd4ae8ab79277fa6f2eb25557 /gitweb.conf.txt
parenta4df8edd688285dc532353d4075d979d5ec20306 (diff)
downloadgit-htmldocs-94d00a5c4ebb12f2552118f261d8f82c05c2501d.tar.gz
Autogenerated HTML docs for v2.19.1-708-g4ede3
Diffstat (limited to 'gitweb.conf.txt')
-rw-r--r--gitweb.conf.txt25
1 files changed, 15 insertions, 10 deletions
diff --git a/gitweb.conf.txt b/gitweb.conf.txt
index 9c8982ec9..c0a326e38 100644
--- a/gitweb.conf.txt
+++ b/gitweb.conf.txt
@@ -19,10 +19,12 @@ end of a line is ignored. See *perlsyn*(1) for details.
An example:
- # gitweb configuration file for http://git.example.org
- #
- our $projectroot = "/srv/git"; # FHS recommendation
- our $site_name = 'Example.org >> Repos';
+------------------------------------------------
+# gitweb configuration file for http://git.example.org
+#
+our $projectroot = "/srv/git"; # FHS recommendation
+our $site_name = 'Example.org >> Repos';
+------------------------------------------------
The configuration file is used to override the default settings that
@@ -357,6 +359,7 @@ $home_link_str::
+
For example, the following setting produces a breadcrumb trail like
"home / dev / projects / ..." where "projects" is the home link.
++
----------------------------------------------------------------------------
our @extra_breadcrumbs = (
[ 'home' => 'https://www.example.org/' ],
@@ -901,14 +904,16 @@ To enable blame, pickaxe search, and snapshot support (allowing "tar.gz" and
"zip" snapshots), while allowing individual projects to turn them off, put
the following in your GITWEB_CONFIG file:
- $feature{'blame'}{'default'} = [1];
- $feature{'blame'}{'override'} = 1;
+--------------------------------------------------------------------------------
+$feature{'blame'}{'default'} = [1];
+$feature{'blame'}{'override'} = 1;
- $feature{'pickaxe'}{'default'} = [1];
- $feature{'pickaxe'}{'override'} = 1;
+$feature{'pickaxe'}{'default'} = [1];
+$feature{'pickaxe'}{'override'} = 1;
- $feature{'snapshot'}{'default'} = ['zip', 'tgz'];
- $feature{'snapshot'}{'override'} = 1;
+$feature{'snapshot'}{'default'} = ['zip', 'tgz'];
+$feature{'snapshot'}{'override'} = 1;
+--------------------------------------------------------------------------------
If you allow overriding for the snapshot feature, you can specify which
snapshot formats are globally disabled. You can also add any command-line