From 1b5182fe2416165fb4a70b1e11a99e2e6687321a Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Tue, 28 Mar 2017 14:59:16 +0100 Subject: [PATCH] Removed robots.txt from repo and added docs/build back to the gitignore list. --- .gitignore | 1 - docs/build.gradle | 15 +++++---------- docs/robots.txt | 2 -- 3 files changed, 5 insertions(+), 13 deletions(-) delete mode 100644 docs/robots.txt 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: /