-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Refine .gitattributes to hide generated docs changes #124742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine .gitattributes to hide generated docs changes #124742
Conversation
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
ivancea
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
| docs/reference/esql/functions/*/** linguist-generated=true | ||
| # ESQL functions docs are autogenerated. More information at `docs/reference/query-languages/esql/README.md` | ||
| docs/reference/query-languages/esql/_snippets/functions/*/** linguist-generated=true | ||
| #docs/reference/query-languages/esql/_snippets/operators/*/** linguist-generated=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not ready yet? I would maybe add it anyway, it will just be collapsed by default. A to not open more PRs for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The operators are still mostly manually created. I thought this setting would hide these changes from PRs and we should not do that for manually edited files. But I hope we can fix this moving forward. Certainly the previous PR took a reasonable step closer to automating operator docs generating. Previously only the types list was generated. Now we can also generate detailedDescription, notes and examples. But there are a few parts missing and a few operators that are 100% manual docs.
The PR at #124312 created a lot of generated docs in a new location. This PR updates the .gitattributes file to hide these in the new locations.