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] Allow attribute substitution in titleabbrevs for Asciidoctor migration #41574

Merged
merged 4 commits into from
Apr 30, 2019
Merged

[DOCS] Allow attribute substitution in titleabbrevs for Asciidoctor migration #41574

merged 4 commits into from
Apr 30, 2019

Conversation

jrodewig
Copy link
Contributor

@jrodewig jrodewig commented Apr 26, 2019

By default, Asciidoctor does not expand attributes included in <titleabbrev> tags. This Adds the [subs="attributes"] to <titleabbrev> tags containing attributes in preparation for the Asciidoctor migration

Relates to /elastic/docs#827 and #41128.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs

@nik9000
Copy link
Member

nik9000 commented Apr 26, 2019 via email

@jrodewig jrodewig changed the title [DOCS] Replace attributes in titleabbrevs for Asciidoctor migration [DOCS] Allow attribute substitution in titleabbrevs for Asciidoctor migration Apr 26, 2019
@jrodewig
Copy link
Contributor Author

Thanks @nik9000. I went with the [subs="attributes"] option in 8ca7685 as that seemed less destructive.

++++
<titleabbrev>Delete {dataframe-transforms}</titleabbrev>
<titleabbrev>Delete data frame transforms</titleabbrev>
Copy link
Member

Choose a reason for hiding this comment

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

I think you can revert this line now that you have subs=attributes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:doh: Sorry about that @nik9000. For some reason, I thought I changed both the titles and titleabbrevs. Looks like I only did the titles though.

Should be fixed up with 71460d7.

++++
<titleabbrev>Get {dataframe-transform} statistics</titleabbrev>
<titleabbrev>Get data frame transform statistics</titleabbrev>
Copy link
Member

Choose a reason for hiding this comment

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

Same for all of the others actually.

Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

LGTM

@jrodewig jrodewig merged commit ba6135f into elastic:master Apr 30, 2019
@jrodewig jrodewig deleted the asciidoctor-remove-title-attributes branch April 30, 2019 17:46
jrodewig added a commit that referenced this pull request Apr 30, 2019
…igration (#41574)

* [DOCS] Replace attributes in titleabbrevs for Asciidoctor migration

* [DOCS] Add [subs="attributes"] so attributes render in Asciidoctor

* Revert "[DOCS] Replace attributes in titleabbrevs for Asciidoctor migration"

This reverts commit 98f1302.

* [DOCS] Fix merge conflict
akhil10x5 pushed a commit to akhil10x5/elasticsearch that referenced this pull request May 2, 2019
…igration (elastic#41574)

* [DOCS] Replace attributes in titleabbrevs for Asciidoctor migration

* [DOCS] Add [subs="attributes"] so attributes render in Asciidoctor

* Revert "[DOCS] Replace attributes in titleabbrevs for Asciidoctor migration"

This reverts commit 98f1302.

* [DOCS] Fix merge conflict
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
…igration (elastic#41574)

* [DOCS] Replace attributes in titleabbrevs for Asciidoctor migration

* [DOCS] Add [subs="attributes"] so attributes render in Asciidoctor

* Revert "[DOCS] Replace attributes in titleabbrevs for Asciidoctor migration"

This reverts commit 98f1302.

* [DOCS] Fix merge conflict
@jakelandis jakelandis removed the v8.0.0 label Jul 26, 2021
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.

4 participants