Skip to content

fix(docs): stop rendering the meta row and lead twice - #10

Merged
ValgulNecron merged 1 commit into
mainfrom
fix/docs-duplicate-meta-lede
Oct 6, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
fix/docs-duplicate-meta-lede

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

Summary

Many docs pages showed the chip row ("Modules & Sources · v0.2 · 14 MIN") and the intro sentence twice. DocsLayout.astro already renders both from frontmatter, the group/readTime chip row and the description as the lede. Some pages rendered them a second time in the MDX body:

  • 41 pages had an inline <DocsArticleMeta … /> row.
  • 41 pages opened with a paragraph identical to their description.
  • 61 pages in total; 21 of them had both.

This PR removes the inline copies and the now-unused DocsArticleMeta imports, and keeps the layout's copy. It only deletes lines (61 files, 205 deletions). A deterministic script made the change: it removes a paragraph only when it matches the description exactly.

No design change: the docs screens in website.pen already show the chip row and the lede once.

Verification

  • npm run build: 95 pages. The built pages have exactly one chip row and one lede; checked on multi-cluster, modules-sources, remote-agent-gateway, server-networking-tunnels, api-crds and air-gapped-installation.
  • A sonnet review of the full diff found only the two intended kinds of removal.

🤖 Generated with Claude Code

https://claude.ai/code/session_0153BeT3nUXo5japNTuJSPqb

DocsLayout already renders the frontmatter description as the page
lede and a DocsArticleMeta chip row from group/readTime. 41 pages also
rendered the chip row inline and 41 opened with the description again
(61 pages in all), so both showed twice. Drop the inline copies and the
now-unused imports; the layout's copy stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0153BeT3nUXo5japNTuJSPqb
Signed-off-by: valgulnecron <39313199+ValgulNecron@users.noreply.github.com>
@ValgulNecron ValgulNecron added bug Something isn't working documentation Improvements or additions to documentation labels Oct 6, 2026
@ValgulNecron
ValgulNecron merged commit 50a8c4c into main Oct 6, 2026
1 check passed
@ValgulNecron
ValgulNecron deleted the fix/docs-duplicate-meta-lede branch October 6, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant