Skip to content

Rename ai-agents docs section to agents#1621

Open
youssefea wants to merge 8 commits into
masterfrom
rename-ai-agents-to-agents
Open

Rename ai-agents docs section to agents#1621
youssefea wants to merge 8 commits into
masterfrom
rename-ai-agents-to-agents

Conversation

@youssefea

Copy link
Copy Markdown
Contributor

Summary

Renames the documentation section from ai-agents to agents, redirects all legacy /ai-agents links to the new /agents paths, and adds section anchor links (Skills + Support) to the Agents tab — matching the pattern used by other sections (e.g. Account's GitHub/Support links).

Changes

  • Directory rename: docs/ai-agents/docs/agents/ (tracked as a git rename, so history is preserved).
  • Navigation (docs.json): all Agents tab pages now point at agents/....
  • Redirects (docs.json):
    • Every existing redirect destination now points at /agents.
    • Legacy /ai-agents/... sources are kept so old deep links still resolve.
    • Added catch-all redirects /ai-agents → /agents and /ai-agents/:slug* → /agents/:slug*, placed last so the specific legacy redirects keep priority.
  • Section anchors: added a global.anchors block to the Agents tab with Skills (github.com/base/skills) and Support (Discord) links.
  • Internal links: updated all /ai-agents links across the moved files and get-started/ (the resources-for-ai-agents page name is intentionally untouched).
  • Indexes regenerated: agents.md, llms.txt, llms-full.txt.

Verification

  • docs.json validates as JSON.
  • Linter reports no broken /agents internal links (remaining lint findings are pre-existing code-block/image warnings unrelated to this rename).
  • No stray ai-agents references remain outside the intentional resources-for-ai-agents page and unrelated legacy redirect sources.

Generated with Claude Code

Rename the docs/ai-agents directory to docs/agents and update all
internal references, navigation, and section indexes accordingly.

- Move docs/ai-agents/ -> docs/agents/ (git rename, history preserved)
- Update nav pages in docs.json to the new agents/ paths
- Point all redirect destinations at /agents and add catch-all
  redirects (/ai-agents and /ai-agents/:slug*) so legacy links keep
  working; existing legacy /ai-agents sources are preserved
- Add Skills and Support anchors to the Agents tab, matching the
  pattern used by other sections (e.g. Account's GitHub/Support links)
- Regenerate agents.md and llms.txt / llms-full.txt indexes

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@cb-heimdall

cb-heimdall commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

The generated docs/agents.md already serves at /agents, which clashed
with the section's index.mdx (also /agents). Move the Base MCP overview
to its own route and let agents.md own /agents.

- Rename docs/agents/index.mdx -> docs/agents/base-mcp.mdx (/agents/base-mcp)
- Point nav, redirect destinations, and content links at /agents/base-mcp
- Redirect /ai-agents and /ai-agents/index to /agents/base-mcp
- Regenerate agents.md and llms.txt / llms-full.txt indexes

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
youssefea and others added 2 commits June 16, 2026 17:43
Add docs/agents.md to .mintignore so it is not built into a page and
does not claim the /agents route — resolving the clash with the
section's index.mdx while keeping /agents as the Base MCP overview.

agents.md is a repo artifact (the AI-agent docs index), not a site
page; the public index is /llms.txt. This mirrors the existing
writing.md exclusion. The earlier base-mcp rename is reverted.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 16, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
coinbase 🟡 Building Jun 16, 2026, 4:05 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Try the standard uppercase AGENTS.md filename instead of excluding the
index from the build. Whether this avoids the /agents route clash with
the section's index.mdx will be confirmed by the preview build.

- Rename docs/agents.md -> docs/AGENTS.md
- Remove agents.md from docs/.mintignore (no longer build-excluded)
- Add AGENTS.md to docs-utils skipFiles so the generator still excludes
  its own output from the index (previously relied on .mintignore;
  fixes a latent self-reference where the index listed "agents")
- Point the generator, git hooks, hook config/lib, and docs at AGENTS.md
  (the "agents.md" commit-message trigger token is matched
  case-insensitively, so it is left unchanged)

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
youssefea and others added 2 commits June 16, 2026 18:04
…-agents

# Conflicts:
#	docs/AGENTS.md
#	docs/llms-full.txt
#	docs/llms.txt
Add a Note callout on the agents overview directing AI agents to the
machine-readable docs index at https://docs.base.org/AGENTS.md,
emphasizing the uppercase filename.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Replace the Note callout with <Visibility for="agents">, which hides
the pointer from the human web UI while including it in the Markdown
(.md) output that agents fetch — the intended audience for the
canonical uppercase AGENTS.md index.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
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