Skip to content

[main](forwardport #45815) [9.0](backport #45772) [docs automation] Update generate_fields_docs.py to add applies_to badges#46046

Closed
mergify[bot] wants to merge 1 commit intomainfrom
mergify/bp/main/pr-45815
Closed

[main](forwardport #45815) [9.0](backport #45772) [docs automation] Update generate_fields_docs.py to add applies_to badges#46046
mergify[bot] wants to merge 1 commit intomainfrom
mergify/bp/main/pr-45815

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Aug 18, 2025

Note

Starting with v9.0, there is no longer a new documentation set published with every minor release: the same page stays valid over time and shows version-related evolutions. Read more in Write cumulative documentation.

Related to #45436, https://github.com/elastic/docs-content-internal/issues/128

Updates generate_fields_docs.py to add more applies_to badges as needed. Currently we're only adding deprecated badges to fields when there's a deprecated property in fields.yml. In addition to those, we want to add an applies_to badge when:

To test out the new version property, I added a version to fields.yml files that contained new fields in 9.1.0 from these two PRs:

I also made some slight formatting changes to improve how definition lists are rendered (indenting all lines in a definition list item).

Some notes for the reviewers:

….py` to add applies_to badges (#45815)

* [docs automation] Update `generate_fields_docs.py` to add applies_to badges (#45772)

Add applies_to to more situations in exported fields
* update generate_fields_docs.py to add `applies_to` badges
* Overall documentation update

---------

Co-authored-by: Denis <denis.rechkunov@elastic.co>
(cherry picked from commit 7fbc298)

# Conflicts:
#	docs/reference/filebeat/exported-fields-winlog.md
#	docs/reference/metricbeat/exported-fields-kubernetes.md
#	docs/reference/metricbeat/exported-fields-nats.md
#	docs/reference/metricbeat/exported-fields-system.md
#	docs/reference/metricbeat/exported-fields-windows.md

* remove 9.1 and 9.2 updates

* rereun update

---------

Co-authored-by: Colleen McGinnis <colleen.mcginnis@elastic.co>
(cherry picked from commit 1121991)

# Conflicts:
#	docs/reference/filebeat/exported-fields-winlog.md
#	docs/reference/metricbeat/exported-fields-kubernetes.md
#	docs/reference/metricbeat/exported-fields-nats.md
#	docs/reference/metricbeat/exported-fields-system.md
@mergify mergify bot requested a review from a team as a code owner August 18, 2025 04:03
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Aug 18, 2025
@mergify
Copy link
Contributor Author

mergify bot commented Aug 18, 2025

Cherry-pick of 1121991 has failed:

On branch mergify/bp/main/pr-45815
Your branch is up to date with 'origin/main'.

You are currently cherry-picking commit 112199148.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   docs/reference/filebeat/exported-fields-winlog.md
	both modified:   docs/reference/metricbeat/exported-fields-kubernetes.md
	both modified:   docs/reference/metricbeat/exported-fields-nats.md
	both modified:   docs/reference/metricbeat/exported-fields-system.md

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Aug 18, 2025
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 18, 2025
@github-actions
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@github-actions github-actions bot added docs Team:Docs Label for the Observability docs team labels Aug 18, 2025
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 18, 2025
@colleenmcginnis
Copy link
Contributor

I'm not sure why this, a forwardport of a backport, was opened by mergify. These changes were already merged into main in #45772. I'm going to close, but reopen if I'm missing something...

@mergify mergify bot deleted the mergify/bp/main/pr-45815 branch August 20, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport conflicts There is a conflict in the backported pull request docs Team:Docs Label for the Observability docs team

1 participant