Skip to content

Commit 07ea4df

Browse files
jnarebgitster
authored andcommitted
gitweb: Add gitweb(1) manpage for gitweb itself
Most of what is in gitweb.txt it has been pulled directly from the README and INSTALL files of gitweb. Current version is somewhat based on structure of SVN::Web manpage (one of web interfaces for Subversion). gitweb.conf(5) i.e. gitweb configuration manpage now refers to appropriate sections in gitweb(1). gitweb/README now refers to gitweb/INSTALL and gitweb(1) manpage. gitweb/INSTALL now refers to gitweb.conf(5) and gitweb(1). Inspired-by: Drew Northup <[email protected]> Signed-off-by: Jakub Narebski <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6d3902b commit 07ea4df

File tree

5 files changed

+743
-346
lines changed

5 files changed

+743
-346
lines changed

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MAN1_TXT= \
22
$(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
33
$(wildcard git-*.txt)) \
4-
gitk.txt git.txt
4+
gitk.txt gitweb.txt git.txt
55
MAN5_TXT=gitattributes.txt gitignore.txt gitmodules.txt githooks.txt \
66
gitrepository-layout.txt gitweb.conf.txt
77
MAN7_TXT=gitcli.txt gittutorial.txt gittutorial-2.txt \

Documentation/gitweb.conf.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ CGI script with the default name 'gitweb_config.perl' -- allowing
3535
one to have multiple gitweb instances with different configurations by
3636
the use of symlinks.
3737

38+
Note that some configuration can be controlled on per-repository rather than
39+
gitweb-wide basis: see "Per-repository gitweb configuration" subsection on
40+
linkgit:gitweb[1] manpage.
41+
3842

3943
DISCUSSION
4044
----------
@@ -109,6 +113,8 @@ Location of repositories
109113
The configuration variables described below control how gitweb finds
110114
git repositories, and how repositories are displayed and accessed.
111115

116+
See also "Repositories" and later subsections in linkgit:gitweb[1] manpage.
117+
112118
$projectroot::
113119
Absolute filesystem path which will be prepended to project path;
114120
the path to repository is `$projectroot/$project`. Set to
@@ -193,6 +199,9 @@ our $export_ok = "git-daemon-export-ok";
193199
----------------------------------------------------------------------------
194200
+
195201
If not set (default), it means that this feature is disabled.
202+
+
203+
See also more involved example in "Controlling access to git repositories"
204+
subsection on linkgit:gitweb[1] manpage.
196205

197206
$strict_export::
198207
Only allow viewing of repositories also shown on the overview page.

0 commit comments

Comments
 (0)