]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: fix 404 page when fetched from different location
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 22 Jun 2012 13:21:18 +0000 (15:21 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 10 Aug 2012 08:54:23 +0000 (10:54 +0200)
commit3924072e4eb2e359002a86b3199cccb4e1d7bf40
tree44c57bcbe961b23da17afce1c014161324530aaa
parentb8a56f12f55d9dd71cfdb2c1178ee3bf7a9b79f4
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
docs/site.xsl