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 <asheiduk@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Andreas Heiduk committed Oct 22, 2018 at 22:45 UTC 9aab3fcf23c8e0079bec61f356934d596e46948c
1 file changed +15 -10
Documentation/gitweb.conf.txt
+15 -10
@@ -19,10 +19,12 @@ end of a line is ignored. See *perlsyn*(1) for details.
19
20 An example:
21
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 +------------------------------------------------
28
29
30 The configuration file is used to override the default settings that
@@ -357,6 +359,7 @@ $home_link_str::
359 +
360 For example, the following setting produces a breadcrumb trail like
361 "home / dev / projects / ..." where "projects" is the home link.
362 ++
363 ----------------------------------------------------------------------------
364 our @extra_breadcrumbs = (
365 [ 'home' => 'https://www.example.org/' ],
@@ -901,14 +904,16 @@ To enable blame, pickaxe search, and snapshot support (allowing "tar.gz" and
904 "zip" snapshots), while allowing individual projects to turn them off, put
905 the following in your GITWEB_CONFIG file:
906
904 - $feature{'blame'}{'default'} = [1];
905 - $feature{'blame'}{'override'} = 1;
907 +--------------------------------------------------------------------------------
908 +$feature{'blame'}{'default'} = [1];
909 +$feature{'blame'}{'override'} = 1;
910
907 - $feature{'pickaxe'}{'default'} = [1];
908 - $feature{'pickaxe'}{'override'} = 1;
911 +$feature{'pickaxe'}{'default'} = [1];
912 +$feature{'pickaxe'}{'override'} = 1;
913
910 - $feature{'snapshot'}{'default'} = ['zip', 'tgz'];
911 - $feature{'snapshot'}{'override'} = 1;
914 +$feature{'snapshot'}{'default'} = ['zip', 'tgz'];
915 +$feature{'snapshot'}{'override'} = 1;
916 +--------------------------------------------------------------------------------
917
918 If you allow overriding for the snapshot feature, you can specify which
919 snapshot formats are globally disabled. You can also add any command-line