-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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: Cut down on high level rest client copy-and-paste-ness #34125
Conversation
This is what it'd look like to cut down on the asciidoc ritual for each high level rest client API. I don't think it is really enough, but maybe it is a good start. I'm not sure. I marked it discuss so we'll talk about it some. |
Ah! I forgot to mention in the description that this also standardizes some of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM This is definitely a step forward!
Pinging @elastic/es-core-infra |
@elasticmachine, retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oooops misclick. I meant to rewrite the commit message before merge but merged too quickly. That is a shame. |
* Anchors * includes * get settings * more * More
Use tricks pioneered in elastic#34125 to shorted asciidoc for the index API's docs. Also slightly shorten the supported-api docs file.
Use tricks pioneered in #34125 to shorted asciidoc for the index API's docs. Also slightly shorten the supported-api docs file.
Use tricks pioneered in #34125 to shorted asciidoc for the index API's docs. Also slightly shorten the supported-api docs file.
This further applies the pattern set in elastic#34125 to reduce copy-and-paste in the single document CRUD portion of the High Level REST Client docs. It also adds line wraps to snippets that are too wide to fit into the box when rendered in the docs, following up on the work started in elastic#34163.
* Anchors * includes * get settings * more * More
Use tricks pioneered in #34125 to shorted asciidoc for the index API's docs. Also slightly shorten the supported-api docs file.
This introduces a mechanism to slightly reduce the copy-and-paste-ness of
the documentation for the High Level REST Client. It pulls out the entire
"execution" portion of the page that we can include in every page. Doing
this requires the introduction of a few attributes. It then uses these
attributes to further cut down on some copy-and-paste-ness.
This also standardizes some of the
id
s in the search documentation tothe naming scheme that we seem to be using in the newer docs.