From 5991cfcdff8965b74dbf6a506a5784ea469d92ef Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 29 Sep 2014 12:09:19 +0100 Subject: [PATCH] Move adoc to asciidoc --- Guardfile | 4 ++-- src/main/adoc/spring-cloud-bus.adoc | 1 - src/main/asciidoc/spring-cloud-bus.adoc | 5 +++++ 3 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 src/main/adoc/spring-cloud-bus.adoc create mode 100644 src/main/asciidoc/spring-cloud-bus.adoc diff --git a/Guardfile b/Guardfile index 599160a..1440bd6 100644 --- a/Guardfile +++ b/Guardfile @@ -5,7 +5,7 @@ options = {:mkdirs => true, :safe => :unsafe, :attributes => 'linkcss'} guard 'shell' do watch(/^[A-Za-z].*\.adoc$/) {|m| - Asciidoctor.render_file('src/main/adoc/README.adoc', options.merge(:to_file => './README.md')) - Asciidoctor.render_file('src/main/adoc/spring-cloud-bus.adoc', options.merge(:to_dir => 'target/docs')) + Asciidoctor.render_file('src/main/asciidoc/README.adoc', options.merge(:to_file => './README.md')) + Asciidoctor.render_file('src/main/asciidoc/spring-cloud-bus.adoc', options.merge(:to_dir => 'target/generated-docs')) } end diff --git a/src/main/adoc/spring-cloud-bus.adoc b/src/main/adoc/spring-cloud-bus.adoc deleted file mode 100644 index b29d7c3..0000000 --- a/src/main/adoc/spring-cloud-bus.adoc +++ /dev/null @@ -1 +0,0 @@ -= Spring Platform Bus diff --git a/src/main/asciidoc/spring-cloud-bus.adoc b/src/main/asciidoc/spring-cloud-bus.adoc new file mode 100644 index 0000000..0614e14 --- /dev/null +++ b/src/main/asciidoc/spring-cloud-bus.adoc @@ -0,0 +1,5 @@ += Spring Platform Bus + +Spring Cloud Bus links nodes of a distributed system with a lightweight message broker. This can then be used to broadcast state changes (e.g. configuration changes) or other management instructions. + +== Quick Start