Skip to content

Conversation

@florent-leborgne
Copy link
Contributor

@florent-leborgne florent-leborgne commented Dec 19, 2025

Summary

This PR:

  • checks multi-value applies_to keys wrt the upcoming syntax changes
  • checks list items with applies_to to make sure they convey the right information (i.e. were they alternative versions or independently announcing product availability) - and puts latest first in such lists when this wasn't the case
  • checks that patch-level information that is different than .0 can stay as is, or make necessary adjustments if not.

Note: the + notation is a best practice but isn't mandatory, so this PR does not update every single occurrence of applies_to that we have, and instead focuses on cases with ambiguity or that could have led to issues with the updates

This PR should only be merged after elastic/docs-builder#2322 is merged.

CI should fail until then.

Contributes to: #4361

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2025

Vale Linting Results

Summary: 5 suggestions found

💡 Suggestions (5)
File Line Rule Message
deploy-manage/production-guidance/optimize-performance/approximate-knn-search.md 130 Elastic.Acronyms 'HNSW' has no definition.
explore-analyze/elastic-inference/eis.md 20 Elastic.Acronyms 'ELSER' has no definition.
explore-analyze/report-and-share/automating-report-generation.md 267 Elastic.WordChoice Consider using 'deactivate, deselect, hide, turn off' instead of 'Disable', unless the term is in the UI.
troubleshoot/ingest/opentelemetry/edot-collector/trace-export-errors.md 34 Elastic.EmDashes Don't put a space before or after a dash.
troubleshoot/ingest/opentelemetry/edot-collector/trace-export-errors.md 34 Elastic.FutureTense 'will be' might be in future tense. Write in the present tense to describe the state of the product as it is now.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2025

🔍 Preview links for changed docs

More links …

@benironside
Copy link
Contributor

@florent-leborgne I'll ask the same question as I did on #4429, what kind of reviews do you want on this? It's not the typical PR so I'm just thinking about how best to go about it 🕵️


- **Standard case**: Our docs are aligned with the latest patch of any given minor version. That means that in most cases, we don't need to call out the exact patch version that introduced a change (that's for the release notes).

- **Exceptions**: In rare cases, it can happen that the change is important enough to be explicitly called out in the docs with a precise patch-level information. In that case, use two `applies_to` badges with the `!` extra symbol so that users can see clearly the versions in which the functionality is introduced. Order the `applies_to` badges starting with the latest version, and ending with the earliest version. (Automatic ordering for multiple badges is not currently supported.)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we talked about not explicitly documenting this / documenting it as something that should be handled in prose - it doesn't play nice with ranges so I don't know that we want to expose it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm totally open to removing this, cc @elastic/docs-tech-leads

Comment on lines +43 to +44
* [manage and update field mappings](/solutions/observability/streams/management/schema.md)
* [identify failed and degraded documents](/solutions/observability/streams/management/data-quality.md)
Copy link
Collaborator

Choose a reason for hiding this comment

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

any reason why you chose to make this change? I'm not sure what the current state of the feature is but it feels like we are losing info

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It contradicted the tagging of target pages and seemed like incorrect usage of unavailable - I asked Mike to double check

: ([time value](elasticsearch://reference/elasticsearch/rest-apis/api-conventions.md#time-units)) Sets the time to wait before trying again if an attempt to read a [linearizable register](#repository-s3-linearizable-registers) fails. Defaults to `5s`.

`unsafely_incompatible_with_s3_conditional_writes` {applies_to}`stack: ga 9.2.3`
`unsafely_incompatible_with_s3_conditional_writes` {applies_to}`stack: ga 9.2.3+!`
Copy link
Collaborator

Choose a reason for hiding this comment

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

probably practicing what we preach here, I'd just skip the !

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because it's isolated and isn't a multi-patch scenario we can afford to use it though I have no strong feeling about removing it. Lmk your preference and i'll adjust

Copy link
Collaborator

@shainaraskas shainaraskas left a comment

Choose a reason for hiding this comment

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

approving to unblock for my teams

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants