Skip to content

Conversation

@vishaangelova
Copy link
Contributor

With docs-builder 0.72.0, the rendering of one applies_to with multiple values has changed. This requires changes in the guidelines for using applies_to for functionality that becomes available in the same lifecycle in multiple versions.

This PR updates the Functionality is added to multiple patch versions example scenario with a recommendation to use multiple applies_to tags in such cases.

It also adds an example of such a use case in the Applies to style guide section.

@vishaangelova vishaangelova requested review from a team as code owners September 25, 2025 08:54
@vishaangelova vishaangelova added the documentation Improvements or additions to documentation label Sep 25, 2025
@github-actions
Copy link

github-actions bot commented Sep 25, 2025

🔍 Preview links for changed docs

@vishaangelova
Copy link
Contributor Author

vishaangelova commented Sep 25, 2025

@Mpdreamz Most interesting! Why do we get a preview only for one of the two files that have been changed? Is it because the change is in a snippet doc?

## Functionality is added to multiple patch versions [multiple-patch]

Sometimes, features and enhancements slip through into patch versions. In that case, the same functionality might be added for the first time to multiple patch versions at the same time.
Sometimes, features and enhancements slip through into patch versions, and the same functionality might be added for the first time to multiple patch versions at the same time. In that case, use two `applies_to` badges so that users can see clearly the versions in which the functionality is introduced.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add a note that the author should manually ensure that the applies_tos should be in order: starting with later versions, ending with earlier versions? (The auto-ordering doesn't work when there are multiple inline applies_tos.)

Copy link
Contributor

@karenzone karenzone left a comment

Choose a reason for hiding this comment

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

🎉

@vishaangelova vishaangelova merged commit f0260c7 into main Sep 26, 2025
19 checks passed
@vishaangelova vishaangelova deleted the update-example-multiple-patch-versions branch September 26, 2025 14:06
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.

5 participants