Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Use shared versions file for doc builds #13277

Merged
merged 2 commits into from
Aug 11, 2017

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Aug 1, 2017

This pull request changes the Kibana User Guide documentation build so that it pulls version information from a shared file in elastic/docs/shared repository. This allows versioning information to be updated more uniformly and quickly across many books.

The X-Pack Reference already uses those shared files successfully and other books will be migrated to use them as well. See elastic/elasticsearch#26004

@@ -15,6 +7,7 @@ release-state can be: released | prerelease | unreleased
:blob: {repo}blob/{branch}/
:security-ref: https://www.elastic.co/community/security/

include::{asciidoc-dir}/../../shared/versions55.asciidoc[]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order for these values to be accessible when creating the above kibana-specific variables like :docker-image:, which relies on {version}, I think this include needs to happen at the top of the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, you're right! Done!

@lcawl lcawl merged commit cebcc66 into elastic:5.5 Aug 11, 2017
@lcawl lcawl deleted the lcawley-sharedversions branch August 11, 2017 20:39
lcawl added a commit that referenced this pull request Aug 11, 2017
* [DOCS] Use shared versions file for doc builds

* [DOCS] Address feedback in index-shared1.asciidoc
lcawl added a commit that referenced this pull request Aug 11, 2017
* [DOCS] Use shared versions file for doc builds

* [DOCS] Address feedback in index-shared1.asciidoc
lcawl added a commit that referenced this pull request Aug 11, 2017
* [DOCS] Use shared versions file for doc builds

* [DOCS] Address feedback in index-shared1.asciidoc
lcawl added a commit to lcawl/kibana that referenced this pull request Aug 11, 2017
* [DOCS] Use shared versions file for doc builds

* [DOCS] Address feedback in index-shared1.asciidoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants