Skip to content

Strategy for "Applies to" badges #1180

Open
@KOTungseth

Description

@KOTungseth

Description

We're aligning on a strategy for how documentation communicates minor version and deployment type applicability using the Applies to badges.

The goal is to ensure that users can understand exactly what version and deployment type the content applies to, even though the documentation always shows the latest released content.

To support this, the documentation renders applies_to badges at the page and section levels. These badges indicate lifecycle status (e.g. ga, beta, preview, discontinued) and applicable version(s) for the stack (and orchestrators?), and deployment types (including serverless).

Requirements

  • Every documentation page must specify Elastic Stack and Serverless.

  • Badges must apply to the paragraph level (not sentence/word level).

  • Granular examples for word- and sentence-level differences should be developed and communicated to teams.

  • Linting is required in Elastic Docs v3 to ensure authors follow page-level badge rules.

Open questions

  • What should the page-level applies_to badge say when the page contains content for multiple Elastic Stack versions? For example, A page is broadly accurate for Elastic Stack 9.0, but a section or paragraph applies only to 9.2.0. Do we display the page-level badge as ga 9.0 or ga 9.2? Or do we omit the version?

  • How can users quickly identify which minor version-specific content appears on a page?

  • Should we include page-level metadata summaries (e.g. "This page includes content for 9.0–9.2")?

Next steps

  • Align on rules and behavior for mixed-version content on a single page

  • Define linting rules and required applies_to metadata for new content

  • Create examples for:

    • Page-level only
    • Section-level differences
    • Inline {applies_to} use cases
    • Document edge cases and provide fallback behavior
  • Define structure for post-processing and metadata tagging in search/indexing

  • Update Documenting versions and deployment types for authoring documentation, then communicate

Metadata

Metadata

Labels

needs-teamIssues pending triage by the Docs Team

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions