From a60c5758364cfea33f7a729397fd7e385395234a Mon Sep 17 00:00:00 2001 From: Jay Bryant Date: Fri, 23 Nov 2018 21:03:25 +0100 Subject: [PATCH] Cleanup asciidoctor build Remove Guardfile for now; we might reintroduce it later, but it is currently out of sync with the documentation changes. Do not ignore html files in the asciidoc directory as those are needed for docinfo parts. See gh-12611 --- .../src/main/asciidoc/.gitignore | 2 -- .../src/main/asciidoc/Guardfile | 20 ------------------- 2 files changed, 22 deletions(-) delete mode 100644 spring-boot-project/spring-boot-docs/src/main/asciidoc/.gitignore delete mode 100644 spring-boot-project/spring-boot-docs/src/main/asciidoc/Guardfile diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/.gitignore b/spring-boot-project/spring-boot-docs/src/main/asciidoc/.gitignore deleted file mode 100644 index bbc3411176c..00000000000 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.html -*.css diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/Guardfile b/spring-boot-project/spring-boot-docs/src/main/asciidoc/Guardfile deleted file mode 100644 index bdd4d729819..00000000000 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/Guardfile +++ /dev/null @@ -1,20 +0,0 @@ -require 'asciidoctor' -require 'erb' - -guard 'shell' do - watch(/.*\.adoc$/) {|m| - Asciidoctor.render_file('index.adoc', \ - :in_place => true, \ - :safe => Asciidoctor::SafeMode::UNSAFE, \ - :attributes=> { \ - 'source-highlighter' => 'prettify', \ - 'icons' => 'font', \ - 'linkcss'=> 'true', \ - 'copycss' => 'true', \ - 'doctype' => 'book'}) - } -end - -guard 'livereload' do - watch(%r{^.+\.(css|js|html)$}) -end