diff --git a/scripts/_GrailsDocs.groovy b/scripts/_GrailsDocs.groovy
index a725c7e5fb7..d4991d350f7 100644
--- a/scripts/_GrailsDocs.groovy
+++ b/scripts/_GrailsDocs.groovy
@@ -243,7 +243,7 @@ target(pdf: "Produces PDF documentation") {
event("DocStart", ['pdf'])
- PdfBuilder.build(grailsSettings.docsOutputDir.canonicalPath, grailsHome)
+ PdfBuilder.build(grailsSettings.docsOutputDir.canonicalPath, grailsHome.toString())
createdPdf = true
@@ -257,7 +257,7 @@ target(createIndex: "Produces an index.html page in the root directory") {
return
}
- new File("${grailsSettings.docsOutputDir}/index.html").withWriter { writer ->
+ new File("${grailsSettings.docsOutputDir}/all-docs.html").withWriter { writer ->
writer.write """\
@@ -271,7 +271,7 @@ target(createIndex: "Produces an index.html page in the root directory") {
"""
if (createdManual) {
- writer.write '\t\tManual (Frames)
\n'
+ writer.write '\t\tManual (Frames)
\n'
writer.write '\t\tManual (Single)
\n'
}