Skip to content

Normalize internal doc links to relative .md paths#179

Open
Miggets7 wants to merge 1 commit into
mainfrom
docs/normalize-internal-links
Open

Normalize internal doc links to relative .md paths#179
Miggets7 wants to merge 1 commit into
mainfrom
docs/normalize-internal-links

Conversation

@Miggets7

Copy link
Copy Markdown
Contributor

What

  • Converted 49 URL-style internal links in /docs to relative .md file paths including the NNN- numeric prefix. This matches the convention already used by ~194 links.
  • Kept 3 links to /docs/category/rest-api as URLs. The category index is generated, so no .md source file exists for it.
  • Raised onBrokenMarkdownLinks from 'warn' to 'throw' in docusaurus.config.ts, so broken .md links now fail the build the same way URL links already do via onBrokenLinks: 'throw'.

Why

Two link styles were mixed across the docs. The .md file-path form is clickable on GitHub, resolves correctly inside versioned snapshots, and is validated at build time. Snapshots in versioned_docs/ are left untouched.

Verification

Full yarn build passes with no broken link or anchor warnings. Every converted link target was verified to exist on disk.

Convert 49 URL-style internal links to relative .md file paths including
the numeric prefix, matching the documented convention already used by
the majority of links. Links to the generated REST API category page
stay URL-based since no .md source file exists for it.

Also raise onBrokenMarkdownLinks from 'warn' to 'throw' so unresolved
.md links fail the build the same way URL links already do.
@Miggets7
Miggets7 requested review from a team July 22, 2026 14:46
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