diff --git a/docs/build.gradle b/docs/build.gradle
index 79e74c90..915bc966 100644
--- a/docs/build.gradle
+++ b/docs/build.gradle
@@ -18,8 +18,8 @@ docbookHtmlSingle.stylesheet = new File(projectDir, 'src/reference/resources/xsl
docbookFoPdf.stylesheet = new File(projectDir, 'src/reference/resources/xsl/pdf-custom.xsl')
def imagesDir = new File(projectDir, 'src/reference/resources/images');
-docbookFoPdf.admonGraphicsPath = "${imagesDir}/admon"
-docbookFoPdf.imgSrcPath = "${imagesDir}"
+[docbookHtml, docbookFoPdf, docbookHtmlSingle]*.admonGraphicsPath = "./images/admon/"
+[docbookHtml, docbookFoPdf, docbookHtmlSingle]*.imgSrcPath = "${imagesDir}"
refSpec = copySpec {
into ('reference') {
diff --git a/docs/src/reference/docbook/index.xml b/docs/src/reference/docbook/index.xml
index c7b55414..214669c2 100644
--- a/docs/src/reference/docbook/index.xml
+++ b/docs/src/reference/docbook/index.xml
@@ -39,14 +39,10 @@
-
-
-
+
\ No newline at end of file
diff --git a/docs/src/reference/resources/xsl/html-custom.xsl b/docs/src/reference/resources/xsl/html-custom.xsl
index 575267e3..a6330843 100644
--- a/docs/src/reference/resources/xsl/html-custom.xsl
+++ b/docs/src/reference/resources/xsl/html-custom.xsl
@@ -37,7 +37,7 @@
1
- 1
+ 0
0
1
diff --git a/docs/src/reference/resources/xsl/html-single-custom.xsl b/docs/src/reference/resources/xsl/html-single-custom.xsl
index 264d9a81..c37095bb 100644
--- a/docs/src/reference/resources/xsl/html-single-custom.xsl
+++ b/docs/src/reference/resources/xsl/html-single-custom.xsl
@@ -34,7 +34,7 @@
1
- 1
+ 0
0
1
diff --git a/docs/src/reference/resources/xsl/pdf-custom.xsl b/docs/src/reference/resources/xsl/pdf-custom.xsl
index 2b229062..cf730cf9 100644
--- a/docs/src/reference/resources/xsl/pdf-custom.xsl
+++ b/docs/src/reference/resources/xsl/pdf-custom.xsl
@@ -24,7 +24,7 @@
xmlns:xslthl="http://xslthl.sf.net"
exclude-result-prefixes="xslthl"
version='1.0'>
-
+
@@ -201,9 +201,10 @@
################################################### -->
- 1
+ 0
0
- 1
+ 0
+ 0
1
-
+