Skip to content

Adds cumulative docs contribution overview #1324

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

kosabogi
Copy link

@kosabogi kosabogi commented May 30, 2025

📸 Preview

This PR adds contributor guidance for writing cumulative documentation, relevant for Elastic Stack 9.0 and later.

It includes a short overview of the cumulative docs model and navigation links for the instructions for using the applies_to tag at the page, section, and inline levels.

@kosabogi kosabogi requested a review from a team as a code owner May 30, 2025 09:48
@kosabogi kosabogi added the documentation Improvements or additions to documentation label May 30, 2025
Copy link
Contributor

@leemthompo leemthompo left a comment

Choose a reason for hiding this comment

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

This is nice and brief which makes sense here I think. I have couple suggestions. Will let other folks give final review who might have stronger opinions.


Use the `applies_to` tag to indicate which versions, deployment types, or release stages each part of the content is relevant to. Refer to the [Applies to syntax guide](https://docs-v3-preview.elastic.dev/elastic/docs-builder/tree/main/syntax/applies) for more details.

You must always use the `applies_to` tag at the [page](../syntax/applies.md#page-annotations) level. Optionally, you can also use it at the [section](../syntax/applies.md#sections) or [inline](../syntax/applies.md#inline-applies-to) level if certain parts of the content apply only to specific versions, deployment types, or release stages.
Copy link
Contributor

@leemthompo leemthompo May 30, 2025

Choose a reason for hiding this comment

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

@charlotte-hoblik this should be emphasized in the applies_to reference itself too: it should be hyper clear that page-level applies_to are mandatory, and how we use the lower-level ones to write [cumulative docs](linky link)

kosabogi and others added 2 commits May 30, 2025 12:25
@kosabogi
Copy link
Author

This is nice and brief which makes sense here I think. I have couple suggestions. Will let other folks give final review who might have stronger opinions.

Thank you for your comments and suggestions! I've applied them, added a bit more information, and restructured the section slightly.

@leemthompo leemthompo requested a review from georgewallace May 30, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants