@matheusbsbs / matheus-bagliano / commits / 46068383aa
Fork 0

gitweb/README: Document $base_url

Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jakub Narebski committed Aug 4, 2009 at 17:54 UTC 46068383aa825dfe9026f9255cea07da07e06253
1 file changed +6
gitweb/README
+6
@@ -165,6 +165,12 @@ not include variables usually directly set during build):
165 Full URL and absolute URL of gitweb script;
166 in earlier versions of gitweb you might have need to set those
167 variables, now there should be no need to do it.
168 + * $base_url
169 + Base URL for relative URLs in pages generated by gitweb,
170 + (e.g. $logo, $favicon, @stylesheets if they are relative URLs),
171 + needed and used only for URLs with nonempty PATH_INFO via
172 + <base href="$base_url>. Usually gitweb sets its value correctly,
173 + and there is no need to set this variable, e.g. to $my_uri or "/".
174 * $home_link
175 Target of the home link on top of all pages (the first part of view
176 "breadcrumbs"). By default set to absolute URI of a page ($my_uri).