Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb/README: Document $base_url
author
Jakub Narebski
<jnareb@gmail.com>
Tue, 4 Aug 2009 15:54:32 +0000
(17:54 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 5 Aug 2009 19:36:38 +0000
(12:36 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/README
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
85738ba
)
diff --git
a/gitweb/README
b/gitweb/README
index 9056d1e090b314cfa617ccd8aa03047b3aea23b4..66c6a9391d3494ae8928e88501d8fa0d36dffa42 100644
(file)
--- a/
gitweb/README
+++ b/
gitweb/README
@@
-165,6
+165,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.
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).
* $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).