diff --git a/scripts/_GrailsDocs.groovy b/scripts/_GrailsDocs.groovy index 14767671c28..a725c7e5fb7 100644 --- a/scripts/_GrailsDocs.groovy +++ b/scripts/_GrailsDocs.groovy @@ -271,12 +271,12 @@ target(createIndex: "Produces an index.html page in the root directory") { """ if (createdManual) { - writer.write '\t\tManual (Frames)
\n' - writer.write '\t\tManual (Single)
\n' + writer.write '\t\tManual (Frames)
\n' + writer.write '\t\tManual (Single)
\n' } if (createdPdf) { - writer.write '\t\tManual (PDF)
\n' + writer.write '\t\tManual (PDF)
\n' } writer.write """\ diff --git a/src/java/grails/doc/PdfBuilder.groovy b/src/java/grails/doc/PdfBuilder.groovy index ce78dfba167..db028b9a6a3 100644 --- a/src/java/grails/doc/PdfBuilder.groovy +++ b/src/java/grails/doc/PdfBuilder.groovy @@ -32,9 +32,9 @@ class PdfBuilder { /** * Builds a PDF file from the manual's single.html file.

* The following directories are assumed to exist:

* @@ -49,12 +49,12 @@ class PdfBuilder { String home = options.home String tool = options.tool ?: 'grails' - File htmlFile = new File("${baseDir}/manual/guide/single.html") - File outputFile = new File("${baseDir}/manual/guide/single.pdf") + File htmlFile = new File("${baseDir}/guide/single.html") + File outputFile = new File("${baseDir}/guide/single.pdf") File homeFile = new File(home).canonicalFile String urlBase = "file://${homeFile.absolutePath}/src/${tool}/docs/style" - String xml = createXml(htmlFile, "${baseDir}/manual") + String xml = createXml(htmlFile, "${baseDir}") createPdf xml, outputFile, urlBase }