From 2ba9893e8ca60fab53efe7098bef8a4e2ad1b7de Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 26 Sep 2014 11:37:11 +0100 Subject: [PATCH] Move README to html for github --- Guardfile | 2 +- README.html => README.md | 4 ++-- src/main/adoc/README.adoc | 2 +- src/main/adoc/spring-cloud-config.adoc | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) rename README.html => README.md (98%) diff --git a/Guardfile b/Guardfile index f42889b4..33024ef9 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_dir => '.')) + Asciidoctor.render_file('src/main/adoc/README.adoc', options.merge(:to_file => './README.md')) Asciidoctor.render_file('src/main/adoc/spring-cloud-config.adoc', options.merge(:to_dir => 'target/docs')) } end diff --git a/README.html b/README.md similarity index 98% rename from README.html rename to README.md index fd82b1cf..81825ed6 100644 --- a/README.html +++ b/README.md @@ -61,7 +61,7 @@ Spring configuration.

diff --git a/src/main/adoc/README.adoc b/src/main/adoc/README.adoc index 280e6fc4..afefb121 100644 --- a/src/main/adoc/README.adoc +++ b/src/main/adoc/README.adoc @@ -12,7 +12,7 @@ Spring Cloud Config Server features: Config Client features (for Spring applications): -* Bind to Config Server and initialize Spring `Environment` with remote property sources +* Bind to the Config Server and initialize Spring `Environment` with remote property sources * Encrypt and decrypt property values (symmetric or asymmetric) * `@RefreshScope` for Spring `@Beans` that want to be re-initialized when configuration changes * Management endpoints: diff --git a/src/main/adoc/spring-cloud-config.adoc b/src/main/adoc/spring-cloud-config.adoc index 04b2e5d4..5a6c6e4d 100644 --- a/src/main/adoc/spring-cloud-config.adoc +++ b/src/main/adoc/spring-cloud-config.adoc @@ -1,4 +1,5 @@ = Spring Cloud Config +:toc: include::intro.adoc[]