From: Martin Kletzander Date: Fri, 22 Jun 2012 13:21:18 +0000 (+0200) Subject: docs: fix 404 page when fetched from different location X-Git-Tag: v0.10.0-rc1~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3924072e4eb2e359002a86b3199cccb4e1d7bf40;p=thirdparty%2Flibvirt.git docs: fix 404 page when fetched from different location Error 404 page had relative paths specified for both the image and stylesheets which caused a problem when requested URL included a subfolder (e.g. http://libvirt.org/asdf/asdf ). This patch corrects this behaviour by modifying href_base to '/' (for style-sheets) and changing the src of the image (to be '/' always). --- diff --git a/docs/404.html.in b/docs/404.html.in index 9363871457..6021ad0d08 100644 --- a/docs/404.html.in +++ b/docs/404.html.in @@ -15,7 +15,7 @@

- libvirt Logo + libvirt Logo

diff --git a/docs/site.xsl b/docs/site.xsl index a6801e661f..a65c10d28e 100644 --- a/docs/site.xsl +++ b/docs/site.xsl @@ -14,7 +14,16 @@ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> - + + + + + + + + + +