Skip to content

docs: clarify link-fixer should not change link extension style - #398

Open
VinuRithika75 wants to merge 1 commit into
cncf:mainfrom
VinuRithika75:fix-link-fixer-no-md
Open

docs: clarify link-fixer should not change link extension style#398
VinuRithika75 wants to merge 1 commit into
cncf:mainfrom
VinuRithika75:fix-link-fixer-no-md

Conversation

@VinuRithika75

Copy link
Copy Markdown

What

Adds a rule to the link-fixer workflow instructing it to preserve a link's
existing extension style (.md or no extension) when fixing broken links —
it should only correct what's actually wrong (path, typo, domain), not
change the link style itself.

Why

This closes #302. The original concern was that the live site strips .md
from links, so the bot shouldn't add it. That assumption was actually
disproven in the #266 discussion — Docusaurus resolves both .md and
extension-less links fine, and .md links are already used throughout the
docs (e.g. docs/community/tags/index.md). So the real gap wasn't "always
strip .md" — it was that the workflow had no explicit rule stopping it from
changing a link's style at all, which is an unrelated edit under Rule 4.
This adds that guardrail.

Contributes to #302

@VinuRithika75
VinuRithika75 requested review from a team as code owners August 2, 2026 14:57
@netlify

netlify Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploy Preview for contribute-cncf-io ready!

Name Link
🔨 Latest commit 2b62559
🔍 Latest deploy log https://app.netlify.com/projects/contribute-cncf-io/deploys/6a6f5ad81222a400081ef5a5
😎 Deploy Preview https://deploy-preview-398--contribute-cncf-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

update link fixer so it does't append .md in links

1 participant