Fix hard-verified broken links and redirect destinations#4339
Merged
Conversation
Broken internal links in MDX files (3): - stainless-comparison.mdx: /learn/docs/getting-started/publishing-your-docs → /learn/docs/preview-publish/publishing-your-docs - stainless-comparison.mdx: /learn/docs/seo/metadata → /learn/docs/seo/setting-seo-metadata (2 occurrences) - markdown-basics.mdx: /learn/overview/introduction → /learn/sdks/overview/introduction Broken redirect destinations in docs.yml (7): - /learn/sdks/generators/net/publishing → /learn/sdks/generators/csharp/publishing - /learn/sdks/customer-showcase → /learn/sdks/overview/introduction - /learn/docs/building-and-customizing-your-docs/:slug* → /learn/docs/getting-started/:slug* - /learn/docs/customization/frontmatter → /learn/docs/configuration/page-level-settings - /learn/cli-reference/:slug* → /learn/cli-api-reference/cli-reference/:slug* (3 rules) - /learn/api-definitions/openapi/extensions/examples → .../request-response-examples - /learn/api-definitions/openrpc/examples → .../extensions/request-response-examples All destinations verified as 200 on production. Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
|
🌿 Preview your docs: https://fern-preview-31946ea4-9656-4926-9210-637be0d5053f.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
- Revert building-your-docs wildcard redirect to preserve multi-hop chain through building-and-customizing-your-docs (which has 12 specific rules) - Fix markdown-basics.mdx: /learn/docs/building-your-docs/navigation → /learn/docs/configuration/navigation (canonical path) - Fix announcement-banner.mdx: building-your-docs/announcements → customization/announcement-banner (canonical path) Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
devalog
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes 12 hard-verified broken URLs across 4 files: 6 broken internal links in MDX files and 6 redirect rules in
docs.ymlpointing to destinations that return 404.How these were found: All 192 unique internal links in MDX content files and all 135 redirect destinations in
docs.ymlwere tested against production. Only the URLs that returned 404 are fixed in this PR.Broken internal links fixed (MDX):
stainless-comparison.mdx/learn/docs/getting-started/publishing-your-docs/learn/docs/preview-publish/publishing-your-docsstainless-comparison.mdx(×2)/learn/docs/seo/metadata/learn/docs/seo/setting-seo-metadatamarkdown-basics.mdx/learn/overview/introduction(code example)/learn/sdks/overview/introductionmarkdown-basics.mdx/learn/docs/building-your-docs/navigation/learn/docs/configuration/navigationannouncement-banner.mdx.../building-your-docs/announcements(code example).../customization/announcement-bannerBroken redirect destinations fixed (
docs.yml):.../nuget/learn/sdks/generators/net/publishing/learn/sdks/generators/csharp/publishing.../customer-showcase/learn/sdks/customer-showcase/learn/sdks/overview/introduction.../content/frontmatter/learn/docs/customization/frontmatter/learn/docs/configuration/page-level-settings.../cli-api/*(3 rules)/learn/cli-reference/:slug*/learn/cli-api-reference/cli-reference/:slug*.../openapi/examples.../openapi/extensions/examples.../openapi/extensions/request-response-examples.../openrpc/.../examples.../openrpc/examples.../openrpc/extensions/request-response-examplesReview & Testing Checklist for Human
/learn/sdks/customer-showcase→/learn/sdks/overview/introduction: The customer showcase page no longer exists. Confirm that redirecting to the SDK overview/introduction page is the best fallback (vs. the homepage or another page).markdown-basics.mdxlink example: One changed link is inside a<CodeBlock>used as an example of how to write relative links. Verify the new example URL (/learn/sdks/overview/introduction) still makes sense as a generic example for users./learn/sdks/guides/publish-to-package-managers/nuget→ should land on csharp/publishing/learn/cli-api/cli-reference/overview→ should land on cli-api-reference/cli-reference/overview/learn/api-definition/openapi/examples→ should land on openapi/extensions/request-response-examples/learn/docs/content/frontmatter→ should land on configuration/page-level-settingsNotes
building-your-docs/:slug*wildcard redirect was intentionally not changed — it chains throughbuilding-and-customizing-your-docs/:slug*which has 12 specific sub-rules for individual slugs. Instead, the two MDX files that referencedbuilding-your-docs/paths directly were updated to use canonical URLs.Link to Devin session: https://app.devin.ai/sessions/2dd15abd3d26412d9f73c60a6facb94d
Requested by: @Swimburger