From 4c49b9232a6b6892c22ab4ab0bbe7131d41ead19 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 => asciidoc}/spring-cloud-cloudfoundry.adoc | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) rename src/main/{adoc => asciidoc}/spring-cloud-cloudfoundry.adoc (97%) diff --git a/Guardfile b/Guardfile index 326569f..0459e2b 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-cloudfoundry.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-cloudfoundry.adoc', options.merge(:to_dir => 'target/generated-docs')) } end diff --git a/src/main/adoc/spring-cloud-cloudfoundry.adoc b/src/main/asciidoc/spring-cloud-cloudfoundry.adoc similarity index 97% rename from src/main/adoc/spring-cloud-cloudfoundry.adoc rename to src/main/asciidoc/spring-cloud-cloudfoundry.adoc index 1a5dafc..01e1d22 100644 --- a/src/main/adoc/spring-cloud-cloudfoundry.adoc +++ b/src/main/asciidoc/spring-cloud-cloudfoundry.adoc @@ -1,4 +1,4 @@ -= Spring Cloud Cloud Foundry += Spring Cloud for Cloud Foundry Integration between https://github.com/cloudfoundry[Cloud Foundry] and https://github.com/spring-cloud[Spring Cloud]. @@ -10,6 +10,8 @@ expose service-broker endpoints automatically (look in /mappings for here: http://docs.cloudfoundry.org/services/managing-service-brokers.html[http://docs.cloudfoundry.org/services/managing-service-brokers.html]. +== Service Broker Example + Example script to deploy and register a broker: ```