Skip to content

Commit 9aab3fc

Browse files
asheidukgitster
authored andcommitted
doc: fix indentation of listing blocks in gitweb.conf.txt
'gitweb.conf.txt' uses inconsistent indentation in listing blocks and a mix of listing blocks and literal paragraphs. Both didn't look pretty in the rendered HTML page. Signed-off-by: Andreas Heiduk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a5e14ea commit 9aab3fc

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

Documentation/gitweb.conf.txt

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ end of a line is ignored. See *perlsyn*(1) for details.
1919

2020
An example:
2121

22-
# gitweb configuration file for http://git.example.org
23-
#
24-
our $projectroot = "/srv/git"; # FHS recommendation
25-
our $site_name = 'Example.org >> Repos';
22+
------------------------------------------------
23+
# gitweb configuration file for http://git.example.org
24+
#
25+
our $projectroot = "/srv/git"; # FHS recommendation
26+
our $site_name = 'Example.org >> Repos';
27+
------------------------------------------------
2628

2729

2830
The configuration file is used to override the default settings that
@@ -357,6 +359,7 @@ $home_link_str::
357359
+
358360
For example, the following setting produces a breadcrumb trail like
359361
"home / dev / projects / ..." where "projects" is the home link.
362+
+
360363
----------------------------------------------------------------------------
361364
our @extra_breadcrumbs = (
362365
[ 'home' => 'https://www.example.org/' ],
@@ -901,14 +904,16 @@ To enable blame, pickaxe search, and snapshot support (allowing "tar.gz" and
901904
"zip" snapshots), while allowing individual projects to turn them off, put
902905
the following in your GITWEB_CONFIG file:
903906

904-
$feature{'blame'}{'default'} = [1];
905-
$feature{'blame'}{'override'} = 1;
907+
--------------------------------------------------------------------------------
908+
$feature{'blame'}{'default'} = [1];
909+
$feature{'blame'}{'override'} = 1;
906910

907-
$feature{'pickaxe'}{'default'} = [1];
908-
$feature{'pickaxe'}{'override'} = 1;
911+
$feature{'pickaxe'}{'default'} = [1];
912+
$feature{'pickaxe'}{'override'} = 1;
909913

910-
$feature{'snapshot'}{'default'} = ['zip', 'tgz'];
911-
$feature{'snapshot'}{'override'} = 1;
914+
$feature{'snapshot'}{'default'} = ['zip', 'tgz'];
915+
$feature{'snapshot'}{'override'} = 1;
916+
--------------------------------------------------------------------------------
912917

913918
If you allow overriding for the snapshot feature, you can specify which
914919
snapshot formats are globally disabled. You can also add any command-line

0 commit comments

Comments
 (0)