Fix broken links: renamed auth and Slack anchors, translated anchors - #7711
Open
mintlify[bot] wants to merge 2 commits into
Open
mintlify[bot] wants to merge 2 commits into
mintlify[bot] wants to merge 2 commits into
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This branch was successfully deployed
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 stale anchor links in English, es, fr and zh. Readers were landing at the top of the target page instead of the right section. The two known defects from the closed English-only attempt are now fixed in every language. I also fixed the other genuine breakages that
mint broken-links --check-anchorsfound.Changes
ai/model-context-protocol(en/es/fr/zh):#restrict-pages-to-specific-user-groupsnow points to#control-access-with-groups.migration-services/go-live-checklist(en/es/fr/zh):#add-the-agent-to-slacknow points to#connect-your-slack-workspace. The link text now matches the heading in each language.changelog(en/es/fr/zh):/ai/skillmd#discoverynow points to#skills-discovery-endpoints.changelog(en/es/fr/zh): the relative linkai/model-context-protocol#search-filtering-parametersnow points to/ai/model-context-protocol#search-parameters, locale-prefixed in translations.changelog(en/es/fr/zh): the relative linkorganize/settings#api-configurationsnow points to/organize/settings-api, locale-prefixed in translations.#param-iconsnow points to/organize/settings-appearance#icons. Translated copies also used the old/organize/settingspage.<div id>wrappers (es/fr/zh):api-playground/asyncapi-setup(examples-with-nested-groups),deploy/gitlab-self-hosted(network-requirements) and thegitlab-automation-setupsnippet (gitlab-setup).api-playground/overview(fr/zh): the translated "All supported languages" accordion now hasid="all-supported-languages".Notes for reviewers
mint broken-linkspasses.mint validatecould not run in the sandbox because it needs internet access.--check-anchorsfindings unchanged because I couldn't confirm they're actually broken. They target headings that contain badges, code or punctuation:settings-reference#name,settings-structure#navigation,settings-api#api-params,settings-reference#navigation-global-languages,settings-appearance#theme,settings-reference#thumbnails-backgroundandseo#sitemaps-and-robotstxt-files. The checker's slugs may not match what the site renders for these headings.es/fr/zh/customize/custom-scriptslinks to a#data-attributessection that doesn't exist in any language. The English page doesn't have that sentence, so the translation has drifted. I'd leave it for the next translation sync rather than guess at a target.Note
Low Risk
Documentation-only link and anchor updates with no application code, auth, or data-handling changes.
Overview
Repairs stale and missing anchor targets across English, Spanish, French, and Chinese docs so in-page links land on the right section instead of the page top.
Anchor renames: MCP auth indexing now links to
#control-access-with-groups; go-live checklists point Slack setup to#connect-your-slack-workspacewith link text aligned to each locale’s heading; changelog and MCP filtering links use#skills-discovery-endpoints,#search-parameters, and/organize/settings-api(with locale prefixes where needed).New stable IDs: Wrapped translated headings in
<div id="…">for AsyncAPI nested-groups examples, GitLab self-hosted network requirements, and GitLab automation setup snippets; French and Chinese API playground accordions getid="all-supported-languages".Icon snippets:
icons.libraryreferences now target/organize/settings-appearance#iconsinstead of obsolete#param-icons/ settings page paths.Reviewed by Cursor Bugbot for commit 9ec897a. Bugbot is set up for automated code reviews on this repo. Configure here.