documentation: Explain etc/gitweb_config.perl as an override
This file can override the automatically generated configuration.
Bug: issue 496
Change-Id: I1756d268e111d0021ebb8d8f248fd7e374ef49b4
Signed-off-by: Shawn O. Pearce <sop@google.com>
diff --git a/Documentation/config-gitweb.txt b/Documentation/config-gitweb.txt
index 4266ad3..f72efaf 100644
--- a/Documentation/config-gitweb.txt
+++ b/Documentation/config-gitweb.txt
@@ -26,6 +26,14 @@
After updating `'$site_path'/etc/gerrit.config`, the Gerrit server must
be restarted and clients must reload the host page to see the change.
+Configuration
+~~~~~~~~~~~~~
+
+Most of the gitweb configuration file is handled automatically
+by Gerrit Code Review. Site specific overrides can be placed in
+`'$site_path'/etc/gitweb_config.perl`, as this file is loaded as
+part of the generated configuration file.
+
Access Control
~~~~~~~~~~~~~~