Skip to content

Remove duplicate front matter keys - #9591

Merged
reakaleek merged 1 commit into
mainfrom
fix-duplicate-frontmatter-keys
Nov 24, 2026
Merged

reakaleek merged 1 commit into
mainfrom
fix-duplicate-frontmatter-keys

Conversation

@reakaleek

Copy link
Copy Markdown
Member

Summary

SharpYaml 3.18.0 (elastic/docs-builder#5026) errors on duplicate keys in front matter; 3.17.0 silently kept the last value. Three pages have duplicates, so the bump fails the build. This removes the duplicates, keeping the value that was previously rendered (the last one):

  • solutions/observability/get-started.md: duplicate description (kept the later one)
  • deploy-manage/tools/snapshot-and-restore/ece-aws-custom-repository.md: duplicate navigation_title (kept AWS S3)
  • solutions/observability/incident-management/configure-service-level-objective-slo-access.md: identical duplicate applies_to block removed

No rendered change is expected.

Related: elastic/docs-builder#5007

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

Tool(s) and model(s) used: Claude Code (Claude)


Generated by Claude Code

@cla-checker-service

cla-checker-service Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

💚 CLA has been signed

@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@reakaleek
reakaleek marked this pull request as ready for review November 24, 2026 07:34
@reakaleek
reakaleek requested review from a team as code owners November 24, 2026 07:34
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

SharpYaml 3.18.0 errors on duplicate keys. Keep the values the pages rendered with before (last one wins).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011oJWkfSG7xYzRxe5mCcsuC
@reakaleek
reakaleek force-pushed the fix-duplicate-frontmatter-keys branch from c88b09c to 0880502 Compare November 24, 2026 07:39
@reakaleek
reakaleek merged commit db687d2 into main Nov 24, 2026
13 checks passed
@reakaleek
reakaleek deleted the fix-duplicate-frontmatter-keys branch November 24, 2026 08:05
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