diff --git a/.gitignore b/.gitignore index 78038540b0..270ec992fe 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ local.properties # General build files **/build/* -!docs/build/* lib/dokka.jar diff --git a/docs/build.gradle b/docs/build.gradle index e3f3dc3267..6b732d6670 100644 --- a/docs/build.gradle +++ b/docs/build.gradle @@ -16,21 +16,16 @@ task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) { } task apidocs(dependsOn: [':jar', 'dokka', 'dokkaJavadoc']) -task buildDocs(dependsOn: ['apidocs', 'copyRobots', 'makeDocs']) - -task copyRobots(type: Copy) { - from "robots.txt" - into "build/html" -} +task buildDocs(dependsOn: ['apidocs', 'makeDocs']) task installDocsiteRequirements(type: Exec) { // TODO: Non-msys Windows script - commandLine 'cmd', '/c', 'sh ./install-docsite-requirements.sh' // Windows - commandLine './install-docsite-requirements.sh' // Linux + commandLine 'cmd', '/c', 'sh install-docsite-requirements.sh' // Windows + commandLine 'sh', './install-docsite-requirements.sh' // Linux } task makeDocs(type: Exec, dependsOn: ['installDocsiteRequirements']) { // TODO: Non-msys Windows script - commandLine 'cmd', '/c', 'sh ./make-docsite.sh' // Windows - commandLine './make-docsite.sh' // Linux + commandLine 'cmd', '/c', 'sh make-docsite.sh' // Windows + commandLine 'sh', './make-docsite.sh' // Linux } \ No newline at end of file diff --git a/docs/robots.txt b/docs/robots.txt deleted file mode 100644 index 1f53798bb4..0000000000 --- a/docs/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: /