-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Followup to https://github.com/elastic/docs-content-internal/issues/343 and #1743
Also replaces #1709 due to the nature of the requested changes.
We're combining the range and patch simplification questions into 1 issue as we consider them to be very much related and shouldn't come at different times.
Challenge
- Only surfacing the version when a change was introduced doesn't lead to clear enough docs.
- A similar clarity challenge occurs with showing patch-level badges, especially because these changes are typically released in patches of several minor versions at the same time. This creates uncertainty on the authoring side as to how to document these changes using applies_to, and creates ambiguity as well as a badge overload in the published content. This challenge would also be overly complexified with the support of ranges.
Detailed proposals
To remediate these gaps, we need to:
- get the ability to input version ranges in
applies_toand to show these ranges in badges and tooltips. The syntax to so should be simple and non-breaking to avoid any disruption. - simplify the version part of applies_to by limiting them to Major.Minor and omit the patch part of it, and instead communicate and consider that each version-specific statement corresponds to the latest patch of said versions. To be clear, this means using a "9.5" badge for a change introduced in 9.5.0, 9.5.1, 9.5.6, etc. When absolutely critical to specify the patch version of a change, use a combination of "Major.Minor" badge and use plain text to describe the patch change ("9.2": Do this. If you're still using 9.2.1, do that.)
Find more context and information in these detailed docs:
Full specification for docs-eng
<In progress - Gdoc link to come>
Tasks
- Review and validate proposals with leads (✅ for Patches / WIP for Ranges)
- Build detailed specification for docs-eng <-- We're here
- Pre-implementation heads up to the docs-team
- Handoff to docs-eng
- Implementation on docs-eng side
- Content updates to match new implementation
- Any changes required to accommodate ranges (make sure we haven't broken anything, and fix it if yes)
- Any changes required to accommodate Patch simplification (make sure the content is still accurate)
- Update docs-builder docs
- Communicate to docs-team when changes are in effect