]> Lady’s Gitweb - Gitweb/blobdiff - README
gitweb/README: Document $base_url
[Gitweb] / README
diff --git a/README b/README
index 32e1b4ce2894d78df84c9d49ddbbe283a884860827d500737196b2b193ed4612..200f043ba540659ed25617d14d3feed282c6b519e862599217603ebccb961fde 100644 (file)
--- a/README
+++ b/README
@@ -164,6 +164,12 @@ not include variables usually directly set during build):
    Full URL and absolute URL of gitweb script;
    in earlier versions of gitweb you might have need to set those
    variables, now there should be no need to do it.
+ * $base_url
+   Base URL for relative URLs in pages generated by gitweb,
+   (e.g. $logo, $favicon, @stylesheets if they are relative URLs),
+   needed and used only for URLs with nonempty PATH_INFO via
+   <base href="$base_url>.  Usually gitweb sets its value correctly,
+   and there is no need to set this variable, e.g. to $my_uri or "/".
  * $home_link
    Target of the home link on top of all pages (the first part of view
    "breadcrumbs").  By default set to absolute URI of a page ($my_uri).
This page took 0.198246 seconds and 4 git commands to generate.