What we're missing ATM is different documentation versions for different application versions. What this change does is that it's: - finding out what is the current branch (e.g. 1.0.x) - finding out out what is the name of the main adoc file (e.g. spring-cloud-sleuth) - pulling the changes from gh-pages after checkout - finding out what is the list of comma separated whitelisted branches (via the `docs.whitelisted.branches` prop) - in gh-pages creating a folder with name of the branch (e.g. /1.0.x) copying all the docs/target/generated-docs/ to that folder - if the branch from which we're calling the script is NOT master then we're changing the ${main.adoc}.html to index.html so that it's easier to access the docs (e.g. http://cloud.spring.io/spring-cloud-sleuth/1.0.x/)
Name |
Last commit
|
Last update |
---|---|---|
.mvn | Loading commit data... | |
docs | Loading commit data... | |
eclipse | Loading commit data... | |
scripts | Loading commit data... | |
spring-cloud-netflix-core | Loading commit data... | |
spring-cloud-netflix-dependencies | Loading commit data... | |
spring-cloud-netflix-eureka-client | Loading commit data... | |
spring-cloud-netflix-eureka-server | Loading commit data... | |
spring-cloud-netflix-hystrix-amqp | Loading commit data... | |
spring-cloud-netflix-hystrix-dashboard | Loading commit data... | |
spring-cloud-netflix-hystrix-stream | Loading commit data... | |
spring-cloud-netflix-sidecar | Loading commit data... | |
spring-cloud-netflix-spectator | Loading commit data... | |
spring-cloud-netflix-turbine | Loading commit data... | |
spring-cloud-netflix-turbine-stream | Loading commit data... | |
spring-cloud-starter-archaius | Loading commit data... | |
spring-cloud-starter-atlas | Loading commit data... | |
spring-cloud-starter-eureka | Loading commit data... | |
spring-cloud-starter-eureka-server | Loading commit data... | |
spring-cloud-starter-feign | Loading commit data... | |
spring-cloud-starter-hystrix | Loading commit data... | |
spring-cloud-starter-hystrix-dashboard | Loading commit data... | |
spring-cloud-starter-ribbon | Loading commit data... | |
spring-cloud-starter-spectator | Loading commit data... | |
spring-cloud-starter-turbine | Loading commit data... | |
spring-cloud-starter-turbine-amqp | Loading commit data... | |
spring-cloud-starter-turbine-stream | Loading commit data... | |
spring-cloud-starter-zuul | Loading commit data... | |
.gitignore | Loading commit data... | |
.settings.xml | Loading commit data... | |
.travis.yml | Loading commit data... | |
Guardfile | Loading commit data... | |
LICENSE.txt | Loading commit data... | |
README.adoc | Loading commit data... | |
asciidoctor.css | Loading commit data... | |
circle.yml | Loading commit data... | |
mvnw | Loading commit data... | |
mvnw.cmd | Loading commit data... | |
pom.xml | Loading commit data... |