From c964527483a23c3f98884db9c227170d5a2201ae Mon Sep 17 00:00:00 2001 From: Jean de Klerk Date: Wed, 16 Dec 2015 07:37:51 -0700 Subject: [PATCH] Building docs via included uri --- docs/src/main/asciidoc/README.adoc | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/docs/src/main/asciidoc/README.adoc b/docs/src/main/asciidoc/README.adoc index 2127c13..5450eaa 100644 --- a/docs/src/main/asciidoc/README.adoc +++ b/docs/src/main/asciidoc/README.adoc @@ -6,26 +6,9 @@ include::intro.adoc[] > NOTE: if you are looking for a way to bind to services then this is the wrong library. Check out the [Spring Cloud Connectors](https://github.com/spring-cloud/spring-cloud-connectors) instead. -= Building documentation +== Building -`./mvnw install -P docs -DskipTests=true --settings .settings.xml` - -If there is an ruby error like - --------------------------------------------------------------- -LoadError: no such file to load -- asciidoctor --------------------------------------------------------------- - -then the user must install the _asciidoctor_ gem and set the environment -variable `GEM_HOME`to the ruby gem folder. For example: - -------------------------------------------------------------- - # Get gem info - gem environment - - export GEM_HOME= - -------------------------------------------------------------- +include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/building.adoc[] == Contributing