Skip to content

docs: point the Docs for AI anchor at the moved agents page - #2382

Closed
GigaHierz wants to merge 1 commit into
mainfrom
GigaHierz/docs-for-ai-anchor
Closed

GigaHierz wants to merge 1 commit into
mainfrom
GigaHierz/docs-for-ai-anchor

Conversation

@GigaHierz

Copy link
Copy Markdown
Contributor

The global "Docs for AI" anchor in docs.json still pointed at /build-on-celo/build-with-ai/use-docs-with-ai after #2368 moved that page to /build/agents/use-docs-with-ai. It worked only through a redirect. My path rewrite in #2368 covered page links, the nav and the redirect destinations, but not the global anchors block, which is the one place in docs.json outside redirects that holds a page path.

What changed

One line: navigation.global.anchors[0].href is now /build/agents/use-docs-with-ai.

I searched everything in docs.json outside redirects for build-on-celo, tooling and home paths (including absolute docs.celo.org URLs): this was the only hit.

Verification

$ mint broken-links --check-redirects
success no broken links found
$ bash scripts/check-orphans.sh
No orphan pages found.

This also unblocks #2369, whose redirect check flags this anchor.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@GigaHierz
GigaHierz requested a review from a team as a code owner October 6, 2026 18:02
@GigaHierz
GigaHierz requested a review from palango October 6, 2026 21:15

@palango palango left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. /build/agents/use-docs-with-ai exists and is in the nav, and I found no other old-layout path in docs.json outside redirects either. #2369 makes the same one-line change, so whichever lands second just drops it on rebase; I'll take care of that on #2369 if this goes in first.

@GigaHierz

Copy link
Copy Markdown
Contributor Author

Closing as superseded: #2369 changed the same line to the same value and has merged, so main already points the Docs for AI anchor at /build/agents/use-docs-with-ai.

@GigaHierz GigaHierz closed this Oct 7, 2026
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.

2 participants