diff --git a/docs/Makefile.am b/docs/Makefile.am
index 5c76891ba4f24fc4a928bb6dabf7a192e74fd8bf..2a104bc8376d43e2445666ad0afacbdf2cbe4a4d 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -293,6 +293,7 @@ EXTRA_DIST += \
style=subsite.xsl; \
fi; \
$(XSLTPROC) --stringparam pagename $$name \
+ --stringparam builddir '$(abs_top_builddir)' \
--stringparam timestamp $(timestamp) --nonet \
$(top_srcdir)/docs/$$style $< > $@ \
|| { rm $@ && exit 1; }
diff --git a/docs/newapi.xsl b/docs/newapi.xsl
index dd6169397b58b6eadc75fa49987f8b609b2860a1..670879dc4871dbfbc4228af6b2ed2483c9df3599 100644
--- a/docs/newapi.xsl
+++ b/docs/newapi.xsl
@@ -22,7 +22,6 @@
-
diff --git a/docs/page.xsl b/docs/page.xsl
index 65ddeb2bb7cd8656fd88920107079479757fd992..6f429ae087c53df56a562a09e9813cc0c2efe141 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -7,6 +7,8 @@
exclude-result-prefixes="xsl exsl html"
version="1.0">
+
+
@@ -168,7 +170,7 @@
-
+