From 3924072e4eb2e359002a86b3199cccb4e1d7bf40 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Fri, 22 Jun 2012 15:21:18 +0200 Subject: [PATCH] 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). --- docs/404.html.in | 2 +- docs/site.xsl | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) 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"/> - + + + + + + + + + + -- 2.47.2