Skip to content

Link the home page buttons to pages, not Markdown copies - #134

Merged
shenxianpeng merged 1 commit into
mainfrom
claude/project-thread-0tp6rk
Nov 1, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
claude/project-thread-0tp6rk

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Since the docs moved to Sumi (#133), Getting Started and the other buttons and feature cards on https://mkdocs-ng.github.io/mkdocs/ open the raw Markdown copy (e.g. getting-started.md) instead of the page.

The Sumi landing template doesn't resolve .md paths in front matter links; mkdocs-ng/mkdocs-sumi#5 fixes that for 0.1.2. This PR switches docs/index.md to page URLs (getting-started/, user-guide/configuration/#llmstxt, …), which work with every Sumi release, so the site is fixed as soon as this merges.

Related Issue

None; reported directly.

Checklist

  • New tests added for new behavior (if applicable): n/a, docs only (the Sumi fix has tests)
  • Documentation updated (if applicable)
  • Release notes docs/about/release-notes.md updated (if applicable): n/a, docs only

Testing

mkdocs build --strict with mkdocs-sumi 0.1.1 from PyPI: the only .md href left on the home page is the <link rel="alternate" type="text/markdown"> to its own Markdown copy.

The Sumi landing template passes front matter links through the `url`
filter without resolving .md source paths (fixed in mkdocs-sumi 0.1.2), so
Getting Started and the other buttons on the home page opened the raw
Markdown copies. Use page URLs, which work with every Sumi release.
@shenxianpeng shenxianpeng self-assigned this Nov 1, 2026
@shenxianpeng
shenxianpeng merged commit 3550579 into main Nov 1, 2026
22 checks passed
@shenxianpeng
shenxianpeng deleted the claude/project-thread-0tp6rk branch November 1, 2026 18:52
@codspeed

codspeed Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 29 untouched benchmarks


Comparing claude/project-thread-0tp6rk (77e4705) with main (e2ca8ba)

Open in CodSpeed

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