Repository navigation
docs: fix "Default to be" grammar and two related text defects - #54048
Conversation
- Replace the repeated "Default to be ..." with "Defaults to ..." (66 occurrences across 19 files), in the module _meta sources, the generated modules.d/reference configs and the generated docs. - "`start_position` allows user to specify if this input should read log files" -> "allows users to specify whether", in all five AWS Fargate locations including the x-pack input reference template. - The `annotations.dedot` description said `.` in *labels* would be replaced; it describes annotations. Fixed in the asciidoc source, the six generated add-kubernetes-metadata pages and the equivalent conflation in the dedotConfig doc comment. Relates to elastic#53290 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
🤖 GitHub commentsJust comment with:
|
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
belimawr
left a comment
There was a problem hiding this comment.
@Anshuman-Prakash thanks for the contribution!
The changes look good, however we don't use asciidoc files any more, the ones you edited are leftovers from the migration to markdown that never got correctly deleted. Could you undo the changes on them so this PR focus on updating the md and configuration files.
Another thing, the PR description is very, very long for a simple grammar fix. I'll be honest, I didn't read it. It is too long and looks AI generated. Could you update it to make the PR description more human readable?
The asciidoc files under filebeat/docs/modules/ and libbeat/processors/add_kubernetes_metadata/docs/ are leftovers from the migration to markdown and are no longer used, so the equivalent markdown files already in this PR are the ones that matter. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Thanks @belimawr — both done. I reverted the four asciidoc files ( Also rewrote the description much shorter. Sorry about the wall of text. One follow-up, so I stop repeating the mistake: does the same apply to the generated |
|
@Anshuman-Prakash what do you mean by "generated */docs/fields.asciidoc mirrors"? Yeah, all asciidoc files are supposed to be leftover artifacts, there might still be one in use containing some versions our automation reads. But aside from that our current docs system should not be reading/rendering any asciidoc files. |
|
Sorry, I was vague. I meant the per-beat
So if I fix a typo in an x-pack If they really are dead, the fix is probably to drop
That's In the meantime I'll leave asciidoc out of new PRs. I have four older PRs that already carry approvals and touch a |
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
|
@Mergifyio backport 9.6 9.5 9.4 |
✅ Backports have been createdDetails
|
… (#54216) Relates to #53290 --------- (cherry picked from commit 1c623fe) Co-authored-by: Anshuman Prakash <nakulsrivastava2004@gmail.com> Co-authored-by: Anshuman Prakash <199287261+Anshuman-Prakash@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
… (#54217) Relates to #53290 --------- (cherry picked from commit 1c623fe) Co-authored-by: Anshuman Prakash <nakulsrivastava2004@gmail.com> Co-authored-by: Anshuman Prakash <199287261+Anshuman-Prakash@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
… (#54215) Relates to #53290 --------- (cherry picked from commit 1c623fe) Co-authored-by: Anshuman Prakash <nakulsrivastava2004@gmail.com> Co-authored-by: Anshuman Prakash <199287261+Anshuman-Prakash@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
Relates to #53290.
Three text fixes in the reference docs and the config files they are generated from:
start_positiondescription, "allows user to specify if" -> "allows users to specify whether". The issue listed two spots; there are five, including thex-pack/filebeat/_meta/config/filebeat.inputs.reference.xpack.yml.tmpltemplate the generated files come from, so I fixed it at the source too.annotations.dedotin theadd_kubernetes_metadatadocs said.in labels would be replaced; it is annotations.Docs and config only, plus a doc comment in
metricbeat/module/kubernetes/event/event.go. No behaviour change.