From fc2a66afab872756a9b9b30b947296b5fc1b8e07 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Tue, 19 Jul 2011 20:53:06 +0300 Subject: [PATCH] + disable the use of extension to prevent the callouts from being generated (which caused some problems) + fixed some issues with image paths --- docs/build.gradle | 4 ++-- docs/src/reference/docbook/index.xml | 7 +------ docs/src/reference/resources/xsl/html-custom.xsl | 2 +- .../src/reference/resources/xsl/html-single-custom.xsl | 2 +- docs/src/reference/resources/xsl/pdf-custom.xsl | 10 +++++----- 5 files changed, 10 insertions(+), 15 deletions(-) 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 - +