Building docs via included uri
This commit is contained in:
@@ -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=<PATH FOR GEM ENVIRONMENT>
|
||||
|
||||
-------------------------------------------------------------
|
||||
include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/building.adoc[]
|
||||
|
||||
== Contributing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user