Skip to content

Conversation

mjwolf
Copy link
Contributor

@mjwolf mjwolf commented Oct 1, 2025

1. What does this PR do?

Correctly add entity to generated files. entity fields were previously not being added to the generated files in all the correct places.

This problem was partially hidden because the generated docs files weren't being removed with the make clean command. This also fixes that problem.

2. Which ECS fields are affected/introduced?

Top-level entity fields are now added to the generated files.

3. Why is this change necessary?

4. Have you added/updated documentation?

YES

5. Have you built ECS and committed any newly generated files?

YES

6. Have you run the ECS validation tests locally?

YES

7. Anything else for the reviewers?


Commit Message

Correctly add top-level entity fields to the generated files.
This also updates the make clean command to clean generated doc files.

mjwolf added 2 commits October 1, 2025 14:19
Properly generate entity fields in all generated files. The top-level
entity files were previously not being included in the generated files.

This problem was partially hidden because the `make clean`
command didn't remove generated files in `docs/reference/`, so some
older entity files were kept. This updates the command to clean all
generated files in `docs/reference`.
@mjwolf mjwolf requested a review from a team as a code owner October 1, 2025 21:45
Copy link

github-actions bot commented Oct 1, 2025

Documentation changes preview: https://docs-v3-preview.elastic.dev/elastic/ecs/pull/2548/reference/

Copy link

github-actions bot commented Oct 1, 2025

🤖 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!)

Copy link

github-actions bot commented Oct 1, 2025

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.

1 participant