Move adoc to asciidoc

This commit is contained in:
Dave Syer
2014-09-29 12:09:19 +01:00
parent 429b183c52
commit 4c49b9232a
2 changed files with 5 additions and 3 deletions

View File

@@ -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

View File

@@ -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:
```