Skip to content

docs: use .md extension for config link in command-prompt page - #121

Merged
ernestrc merged 2 commits into
unstablebuild:mainfrom
kuishou68:cocoon-fix-rune-config-link
Sep 20, 2026
Merged

ernestrc merged 2 commits into
unstablebuild:mainfrom
kuishou68:cocoon-fix-rune-config-link

Conversation

@kuishou68

Copy link
Copy Markdown
Contributor

What

cmd/rune/docs/docs/learn/command-prompt.md links to the command-prompt configuration section as ../config#command-prompt (no file extension).

Every other relative link in the docs uses the Docusaurus .md convention (e.g. ../config.md, ../config.md#command-prompt, ../agent/intro.md, ...). Docusaurus only rewrites and validates links that point at the source .md file; an extension-less path is kept as a raw relative URL and silently skipped by the broken-links check, so it can break depending on how the site is hosted/served.

Change

../config#command-prompt -> ../config.md#command-prompt (single line).

The target anchor exists: docs/docs/config.md has a ## Command Prompt section.

Verification

  • grep confirms this was the only extension-less relative link in the docs tree; all other links already use .md.
  • Verified config.md contains the #command-prompt heading (line 240: ## Command Prompt).
  • One-line docs-only diff.

kuishou68 and others added 2 commits September 21, 2026 00:45
All other relative links in the docs use the Docusaurus .md convention so the link is rewritten to the correct route and validated at build time. The link in learn/command-prompt.md pointed at ../config (no extension), which Docusaurus leaves as a raw relative URL and does not validate.
@ernestrc
ernestrc enabled auto-merge (squash) September 20, 2026 19:52
@ernestrc
ernestrc disabled auto-merge September 20, 2026 19:52
@ernestrc
ernestrc merged commit 77ada3e into unstablebuild:main Sep 20, 2026
1 check failed
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.

2 participants