From 7a7a0d07414566262965716d55b0d4a3ad71459a Mon Sep 17 00:00:00 2001 From: Mateo Sauton Date: Thu, 12 Nov 2026 17:42:47 -0800 Subject: [PATCH 01/15] organize docs by capability --- .mintlify/AGENTS.md | 2 + .mintlify/docs-capabilities-plan.md | 13 + .mintlify/world-id-auth-maintenance.md | 2 + docs.json | 311 +++++++++--------- index.mdx | 51 +-- mini-apps/sharing/world-chat-qa.mdx | 2 +- tailwind.css | 2 +- world-chain/index.mdx | 2 +- .../reference/address-book.mdx | 9 +- world-chain/reference/useful-contracts.mdx | 2 +- world-id/agent-pass.mdx | 29 ++ world-id/overview.mdx | 29 +- 12 files changed, 276 insertions(+), 178 deletions(-) create mode 100644 .mintlify/docs-capabilities-plan.md rename {mini-apps => world-chain}/reference/address-book.mdx (74%) create mode 100644 world-id/agent-pass.mdx diff --git a/.mintlify/AGENTS.md b/.mintlify/AGENTS.md index bec7365b..2a920a47 100644 --- a/.mintlify/AGENTS.md +++ b/.mintlify/AGENTS.md @@ -11,6 +11,8 @@ Keep Agent Pass in `docs.json` as a tab with `hidden: true` and `searchable: true` during MCP testing. Preserve its complete groups and page list so direct links retain the internal sidebar. Keep the scoped Agent Pass tab rules in `tailwind.css`: Mintlify otherwise reveals the hidden tab when it is active. Keep the generated `agent-pass/` pages, their URLs, agent-only homepage link, and `seo.indexing: "all"` so they remain available to search and AI tools. Do not make the tab or promotional cards visible until the public launch is requested. Read [IDP maintenance](world-id-auth-maintenance.md) before changing generated pages. Use the manifest, source lock, and compatibility contract for current coverage and provenance. +The approved capabilities navigation adds a visible World ID integration comparison and `world-id/agent-pass.mdx` entry. Home's authentication capability links to that World ID comparison. Preserve these entry points while keeping the standalone Agent Pass tab hidden and searchable; they do not change the generated guide bodies or their release status. + - Keep `worldcoin/temporal-apps/apps/idpapi/mcp/guides/*.md` as the canonical guide text shared by the Auth browser documentation, MCP, and the generated Mintlify pages. Make content changes in those Markdown files, then regenerate. The landing page in `apps/idpportal/docs.html` is excluded from this migration. - Do not edit generated `agent-pass/*.mdx` bodies directly. Keep publishing metadata and approved adaptations in `.mintlify/world-id-auth-pages.json` and `scripts/sync-world-id-auth.mjs`. Record the source commit in `.mintlify/world-id-auth-source.json` through the generator. - Read relevant source diffs and the complete canonical guides. Preserve all sections, tables, examples, limitations, errors, and instructions when converting them to MDX. If code, canonical text, and generated pages disagree, identify the conflict for review and correct the source or converter. diff --git a/.mintlify/docs-capabilities-plan.md b/.mintlify/docs-capabilities-plan.md new file mode 100644 index 00000000..c825ee52 --- /dev/null +++ b/.mintlify/docs-capabilities-plan.md @@ -0,0 +1,13 @@ +# Capabilities and navigation + +First phase of the approved documentation proposal. Keep the Agent Pass guide bodies and publisher unchanged. + +- [x] Reuse the Home landing cards to lead with capabilities and keep human/agent exports aligned. +- [x] Put integration selection and an IDKit/World IdP comparison before the World ID quickstart. Add a World ID sidebar entry pointing to the existing Agent Pass guides. +- [x] Move Address Book ownership to World Chain, preserving the old route and updating consumers. +- [x] Group the complete World Chain and Mini Apps navigation under the native Others menu. +- [x] Check navigation coverage, redirects, links, MDX syntax and spelling within two minutes total. Browser QA and full builds are skipped. + +The hidden, searchable Agent Pass tab and its complete navigation stay in place. The approved World ID reference is a deliberate discovery entry, not a standalone tab launch. Keep existing CSS hiding that tab. + +Deliver this phase in a separate draft PR against main. Agent Pass reading improvements belong to the next phase. diff --git a/.mintlify/world-id-auth-maintenance.md b/.mintlify/world-id-auth-maintenance.md index b71666c2..2d27ba9d 100644 --- a/.mintlify/world-id-auth-maintenance.md +++ b/.mintlify/world-id-auth-maintenance.md @@ -54,6 +54,8 @@ Automatic synchronization is active only after the workflow is merged to `main`, Agent Pass stays in `docs.json` as a tab with `hidden: true` and `searchable: true` while its published content is tested through World Docs MCP. Keep the complete groups and page list so direct links retain the internal sidebar. Mintlify reveals hidden tabs when active, so scoped rules in `tailwind.css` also hide Agent Pass from desktop and mobile tab switchers. Keep these rules in place and promotional cards hidden until launch. Keep all generated pages and `seo.indexing: "all"`; do not add `noindex` or exclude `agent-pass/` from publication. Pages remain public at their existing URLs and can appear in search. Keep the homepage's agent-only link and technical MCP references for discovery. See [Mintlify hidden pages](https://www.mintlify.com/docs/organize/hidden-pages). +World ID Overview now compares IDKit and World IdP and links to the approved `world-id/agent-pass.mdx` entry. The Home authentication capability leads to this comparison. These visible discovery entries do not make the standalone Agent Pass tab visible or alter the generated guides. + The public documentation routes use `/agent-pass/`. Redirects in `docs.json` preserve the former `/world-id-auth/` HTML and raw Markdown page URLs and send both documentation roots to `/agent-pass/quickstart`. Keep the internal `world-id-auth` configuration and script filenames unchanged. Continue dual publication. Use the compatibility contract for the actual route/resource map, including the legacy `mcp-oauth` alias and trailing-slash variants. Keep Auth's existing routes on their production or sandbox hosts: diff --git a/docs.json b/docs.json index 81a9b799..235f822b 100644 --- a/docs.json +++ b/docs.json @@ -71,6 +71,12 @@ "world-id/overview" ] }, + { + "group": "Agent Pass", + "pages": [ + "world-id/agent-pass" + ] + }, { "group": "IDKit", "pages": [ @@ -169,171 +175,176 @@ ] }, { - "tab": "Mini Apps", - "groups": [ - { - "group": "Introduction", - "pages": [ - "mini-apps/index" - ] - }, + "tab": "Others", + "menu": [ { - "group": "Integrate", - "pages": [ - "mini-apps/quick-start/installing", - "mini-apps/quick-start/init", - "mini-apps/quick-start/commands", - "mini-apps/quick-start/responses", - "mini-apps/quick-start/testing", - "mini-apps/quick-start/app-store", + "item": "World Chain", + "groups": [ { - "group": "Guidelines", + "group": "About World Chain", "pages": [ - "mini-apps/guidelines/app-guidelines", - "mini-apps/guidelines/design-guidelines", - "mini-apps/guidelines/policy", - "mini-apps/guidelines/features-and-guidelines" + "world-chain/index", + "world-chain/quick-start/why", + "world-chain/quick-start/features", + "world-chain/quick-start/data" ] - } - ] - }, - { - "group": "Commands", - "pages": [ - "mini-apps/commands/verify", - "mini-apps/commands/pay", - "mini-apps/commands/wallet-auth", - "mini-apps/commands/send-transaction", - "mini-apps/commands/chat", - "mini-apps/commands/sign-message", - "mini-apps/commands/sign-typed-data", - "mini-apps/commands/share-contacts", - "mini-apps/commands/request-permission", - "mini-apps/commands/get-permissions", - "mini-apps/commands/how-to-send-notifications", - "mini-apps/commands/send-haptic-feedback", - "mini-apps/commands/share", - "mini-apps/commands/attestation", - "mini-apps/commands/close-miniapp" - ] - }, - { - "group": "Technical Reference", - "pages": [ - "mini-apps/reference/address-book", - "mini-apps/reference/usernames", - "mini-apps/reference/status-page", - "mini-apps/reference/payment-methods", - "mini-apps/reference/microphone", + }, + { + "group": "Using World Chain", + "pages": [ + "world-chain/quick-start/index", + "world-chain/quick-start/fund-wallet", + "world-chain/quick-start/info" + ] + }, { - "group": "Quick Actions", + "group": "Building on World Chain", "pages": [ - "mini-apps/sharing/quick-actions", - "mini-apps/sharing/add-money-qa", - "mini-apps/sharing/swap-qa", - "mini-apps/sharing/earn-wld-qa", - "mini-apps/sharing/dna-qa", - "mini-apps/sharing/sage-qa" + "world-chain/developers/deploy", + "world-chain/developers/template", + "world-chain/developers/world-chain-contracts", + "world-chain/developers/fees", + "world-chain/developers/evm-equivalence", + "world-chain/developers/grants" + ] + }, + { + "group": "Infrastructure Providers", + "pages": [ + "world-chain/providers/nodes", + "world-chain/providers/bridges", + "world-chain/providers/data", + "world-chain/providers/explorers", + "world-chain/providers/developer-tooling", + "world-chain/providers/oracles", + "world-chain/providers/paymasters", + "world-chain/providers/onramps" + ] + }, + { + "group": "Technical Reference", + "pages": [ + "world-chain/reference/address-book", + "world-chain/reference/useful-contracts", + "world-chain/reference/node-setup" + ] + }, + { + "group": "Tokens", + "pages": [ + "world-chain/tokens/bridging", + "world-chain/tokens/superchain-token", + "world-chain/tokens/usdc" + ] + }, + { + "group": "Further Reading", + "pages": [ + "world-chain/resources" ] } ] }, { - "group": "Migration", - "pages": [ - "mini-apps/migration/web-to-miniapp", - "mini-apps/migration/standalone-dapp", - "mini-apps/migration/minikit-v2" - ] - }, - { - "group": "Further Reading", - "pages": [ - "mini-apps/more/webview-spec", - "mini-apps/ecosystem/ecosystem", - "mini-apps/more/community-tools-perks", - "mini-apps/more/faq", + "item": "Mini Apps", + "groups": [ + { + "group": "Introduction", + "pages": [ + "mini-apps/index" + ] + }, + { + "group": "Integrate", + "pages": [ + "mini-apps/quick-start/installing", + "mini-apps/quick-start/init", + "mini-apps/quick-start/commands", + "mini-apps/quick-start/responses", + "mini-apps/quick-start/testing", + "mini-apps/quick-start/app-store", + { + "group": "Guidelines", + "pages": [ + "mini-apps/guidelines/app-guidelines", + "mini-apps/guidelines/design-guidelines", + "mini-apps/guidelines/policy", + "mini-apps/guidelines/features-and-guidelines" + ] + } + ] + }, + { + "group": "Commands", + "pages": [ + "mini-apps/commands/verify", + "mini-apps/commands/pay", + "mini-apps/commands/wallet-auth", + "mini-apps/commands/send-transaction", + "mini-apps/commands/chat", + "mini-apps/commands/sign-message", + "mini-apps/commands/sign-typed-data", + "mini-apps/commands/share-contacts", + "mini-apps/commands/request-permission", + "mini-apps/commands/get-permissions", + "mini-apps/commands/how-to-send-notifications", + "mini-apps/commands/send-haptic-feedback", + "mini-apps/commands/share", + "mini-apps/commands/attestation", + "mini-apps/commands/close-miniapp" + ] + }, { - "group": "Growth Playbook", + "group": "Technical Reference", "pages": [ - "mini-apps/growth/index", - "mini-apps/growth/invites-viral", - "mini-apps/growth/gamification", - "mini-apps/growth/notifications", - "mini-apps/growth/analytics" + "mini-apps/reference/usernames", + "mini-apps/reference/status-page", + "mini-apps/reference/payment-methods", + "mini-apps/reference/microphone", + { + "group": "Quick Actions", + "pages": [ + "mini-apps/sharing/quick-actions", + "mini-apps/sharing/add-money-qa", + "mini-apps/sharing/swap-qa", + "mini-apps/sharing/earn-wld-qa", + "mini-apps/sharing/dna-qa", + "mini-apps/sharing/sage-qa" + ] + } + ] + }, + { + "group": "Migration", + "pages": [ + "mini-apps/migration/web-to-miniapp", + "mini-apps/migration/standalone-dapp", + "mini-apps/migration/minikit-v2" + ] + }, + { + "group": "Further Reading", + "pages": [ + "mini-apps/more/webview-spec", + "mini-apps/ecosystem/ecosystem", + "mini-apps/more/community-tools-perks", + "mini-apps/more/faq", + { + "group": "Growth Playbook", + "pages": [ + "mini-apps/growth/index", + "mini-apps/growth/invites-viral", + "mini-apps/growth/gamification", + "mini-apps/growth/notifications", + "mini-apps/growth/analytics" + ] + } ] } ] } ] }, - { - "tab": "World Chain", - "groups": [ - { - "group": "About World Chain", - "pages": [ - "world-chain/index", - "world-chain/quick-start/why", - "world-chain/quick-start/features", - "world-chain/quick-start/data" - ] - }, - { - "group": "Using World Chain", - "pages": [ - "world-chain/quick-start/index", - "world-chain/quick-start/fund-wallet", - "world-chain/quick-start/info" - ] - }, - { - "group": "Building on World Chain", - "pages": [ - "world-chain/developers/deploy", - "world-chain/developers/template", - "world-chain/developers/world-chain-contracts", - "world-chain/developers/fees", - "world-chain/developers/evm-equivalence", - "world-chain/developers/grants" - ] - }, - { - "group": "Infrastructure Providers", - "pages": [ - "world-chain/providers/nodes", - "world-chain/providers/bridges", - "world-chain/providers/data", - "world-chain/providers/explorers", - "world-chain/providers/developer-tooling", - "world-chain/providers/oracles", - "world-chain/providers/paymasters", - "world-chain/providers/onramps" - ] - }, - { - "group": "Technical Reference", - "pages": [ - "world-chain/reference/useful-contracts", - "world-chain/reference/node-setup" - ] - }, - { - "group": "Tokens", - "pages": [ - "world-chain/tokens/bridging", - "world-chain/tokens/superchain-token", - "world-chain/tokens/usdc" - ] - }, - { - "group": "Further Reading", - "pages": [ - "world-chain/resources" - ] - } - ] - }, { "tab": "API Reference", "groups": [ @@ -778,7 +789,7 @@ }, { "source": "/reference/address-book", - "destination": "/world-id/reference/address-book" + "destination": "/world-chain/reference/address-book" }, { "source": "/reference/api", @@ -902,7 +913,7 @@ }, { "source": "/world-id/reference/address-book", - "destination": "/world-id/reference/contracts" + "destination": "/world-chain/reference/address-book" }, { "source": "/world-id/reference/contract-deployments", @@ -995,6 +1006,10 @@ { "source": "/mini-apps/reference/errors", "destination": "/mini-apps/quick-start/installing" + }, + { + "source": "/mini-apps/reference/address-book", + "destination": "/world-chain/reference/address-book" } ], "api": { diff --git a/index.mdx b/index.mdx index 1586c9f0..9484a82a 100644 --- a/index.mdx +++ b/index.mdx @@ -2,9 +2,9 @@ title: "World Developer Docs" sidebarTitle: "Home" mode: "custom" -description: "Build Mini Apps, integrate World ID, and deploy on World Chain with official developer documentation." +description: "Verify people, authenticate users and agents, create Mini Apps, and build on World Chain with official developer documentation." "og:image": "https://raw.githubusercontent.com/worldcoin/developer-docs/main/images/docs/docs-meta.png" -"og:description": "Build with World ID, Mini Apps, and World Chain." +"og:description": "Verify people, authenticate accounts, and build applications with World." "twitter:image": "https://raw.githubusercontent.com/worldcoin/developer-docs/main/images/docs/docs-meta.png" --- @@ -20,8 +20,9 @@ import { DeveloperStories } from "/snippets/developer-stories.jsx"; for="humans" block: Mintlify inlines a snippet's full source into the export when the component appears in exported content, and drops it when all usages are hidden (verified on a preview deploy). Keep the twin's links and copy in - sync when editing. Agent Pass is intentionally linked only in the agent twin - during MCP testing, before its visible launch. + sync when editing. Visible authentication links now lead through World ID's + integration choice. The direct Agent Pass reference stays in the agent twin; + its standalone tab remains hidden during MCP testing. */} @@ -30,39 +31,49 @@ import { DeveloperStories } from "/snippets/developer-stories.jsx";

World Developer Docs

- Integrate World ID and deploy on World Chain with official developer documentation. + Verify people, authenticate users and agents, and build applications with World.
- +
-
Integrate World ID
-
Anonymous Proof of Human for your website or app
+
Verify a human
+
Request and verify World ID proofs for your application's policy.
- + +
+ +
+
+
Authenticate users and agents
+
Add OIDC authentication and require recent authentication for sensitive actions.
+
+
+ +
-
Create a Mini App
-
Mini applications distributed in World App
+
Build inside World App
+
Create a Mini App using MiniKit.
- +
-
World Chain
-
Build directly on World’s blockchain infrastructure
+
Build on World Chain
+
Deploy an application and query verified wallet addresses.
@@ -173,12 +184,14 @@ import { DeveloperStories } from "/snippets/developer-stories.jsx"; - Integrate World ID and deploy on World Chain with official developer documentation. + Verify people, authenticate users and agents, and build applications with World. + + - [Verify a human](/world-id/overview#choose-your-integration): Request and verify World ID proofs for your application's policy. + - [Authenticate users and agents](/world-id/overview#idkit-or-agent-pass): Add OIDC authentication and require recent authentication for sensitive actions. + - [Build inside World App](/mini-apps/index): Create a Mini App using MiniKit. + - [Build on World Chain](/world-chain/index): Deploy an application and query verified wallet addresses. - - [Integrate World ID](/world-id/overview) — Anonymous Proof of Human for your website or app. - - [Create a Mini App](/mini-apps) — Mini applications distributed in World App. - - [Agent Pass](/agent-pass/quickstart) — Connect apps and agents with World ID authentication. - - [World Chain](/world-chain) — Build directly on World’s blockchain infrastructure. + Direct integration reference: [Agent Pass](/agent-pass/quickstart). **Developer stories** — how developers build trusted, human-centered apps with World: diff --git a/mini-apps/sharing/world-chat-qa.mdx b/mini-apps/sharing/world-chat-qa.mdx index 22acd9fa..7e9095e8 100644 --- a/mini-apps/sharing/world-chat-qa.mdx +++ b/mini-apps/sharing/world-chat-qa.mdx @@ -17,7 +17,7 @@ https://worldcoin.org/mini-app?app_id=app_e293fcd0565f45ca296aa317212d8741 The username of the recipient you want to chat with. You can resolve a username using the user's [wallet - address](/mini-apps/reference/address-book). + address](/world-chain/reference/address-book). Predefined message text to include in the draft chat. diff --git a/tailwind.css b/tailwind.css index 4ab25699..3fd03a85 100644 --- a/tailwind.css +++ b/tailwind.css @@ -149,7 +149,7 @@ #navbar .nav-tabs-item > div.absolute { display: none; } - /* Hairline divider between the page tabs and the Resources/Support + /* Hairline divider between the page tabs and the Others/Resources/Support menus (the menu tabs render as