Update global anchors documentation #3033
Merged
+7
−4
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.
Updated navigation documentation to reflect that global anchors now support relative paths in addition to external URLs. This change aligns the documentation with PR #5756, which added support for global navigation nodes to use relative paths for internal documentation pages.
Files changed
organize/navigation.mdx- Updated global anchors section to document relative path supportes/organize/navigation.mdx- Updated Spanish translation with same changesGenerated from fix: support global nodes with relative paths @dks333
Note
Low Risk
Documentation-only change that updates guidance/examples for
navigation.global.anchors; no runtime behavior is modified.Overview
Updates the Global anchors documentation to reflect that
navigation.global.anchors[].hrefnow supports both external URLs and relative paths to internal docs pages.Replaces the previous restriction that global anchors must be external-only, and updates the JSON example to include an internal link (e.g.,
/changelog) alongside an external blog link.Written by Cursor Bugbot for commit a9f5aaf. This will update automatically on new commits. Configure here.