Repository navigation
Remove docs from Marketing; redirect /docs to docs.recoupable.dev - #242
Conversation
Documentation moved to recoupable/docs-site (docs.recoupable.dev). Deletes the /docs engine, content, contract scripts and docs-only tests; /docs and /docs/* 301 to the docs site; in-site and agent-discovery links point there via docsUrl(); docs leave the website agent index (search/read/MCP) and llms files. Refs recoupable/app#2352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedToo many files! This PR contains 415 files, which is 315 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files.
|
Refs recoupable/app#2352 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preview verification:
|
| Check | Expected | Actual |
|---|---|---|
/docs |
permanent redirect → https://docs.recoupable.dev/ |
308 → https://docs.recoupable.dev/ |
/docs/api-reference/publishing/stats |
→ same path on docs site | 308 → https://docs.recoupable.dev/api-reference/publishing/stats |
/docs/quickstart.md |
→ same path on docs site | 308 → https://docs.recoupable.dev/quickstart.md |
/docs/spec/research.json |
→ same path on docs site | 308 → https://docs.recoupable.dev/spec/research.json |
/llms.txt |
no inlined docs; links docs llms.txt | 200, 18,224 bytes; 1 link to docs.recoupable.dev/llms.txt; 0 recoupable.dev/docs refs |
/llms-full.txt |
website summaries only | 128,194 bytes (prod today: 2,717,118); 0 Content ID: docs:; 0 api-reference/ lines; links docs.recoupable.dev/llms-full.txt |
| Sitemap | no /docs entries |
Preview returns an empty sitemap by design (isSearchPreview). Production sitemap() run locally with VERCEL_ENV=production: 78 URLs, 0 /docs (prod today: 321, of which 243 are /docs) |
/.well-known/api-catalog |
platform specs on docs site | 14 items: website openapi.json + 13 https://docs.recoupable.dev/spec/<name>.json |
/agent-api/v1/search?query=royalty |
still works | 200, total 19; top: page:/operations, page:/case-studies/royalty-reporting, page:/royalty-reporting |
/agent-api/v1/search?type=docs |
rejected (as PR body states) | 400 INVALID_TYPE, "Choose all, page, blog, or playbook." (the message still listed docs on 7e3c15a; fixed in cf22393 with a red→green test) |
/agent-api/v1/read?id=docs:authentication |
not found | 404 NOT_FOUND |
Website MCP /mcp |
initialize, tools/list, search work | recoup-public-website 1.0.0; 5 tools; search_recoup enum ["all","page","blog","playbook"]; "royalty reporting" → page:/operations, page:/royalty-reporting; type:"docs" → input validation error (isError: true) |
/, /pricing, /developers, /agents, /compare, /resources |
200; docs links → docs site | all 200. Links to docs.recoupable.dev: 1 / 2 / 9 / 4 / 1 / 1. Internal /docs hrefs: 0 on every page |
/developers docs links |
point at docs site | docs.recoupable.dev root, /mcp, /cli, /api-reference/{artists/list,research/web,content/generate-image,chat/create,tasks/create,connectors/list} |
Local: vitest 101 files / 420 tests; tsc --noEmit clean; eslint 0 errors. The Vercel preview build passed. Locally, /valuation prerender needs a real NEXT_PUBLIC_PRIVY_APP_ID.
Screenshots: /developers, light mode (docs links now go to docs.recoupable.dev)
Desktop 1440×900 ("Read the documentation" → https://docs.recoupable.dev) |
Mobile 390×844 ("Read the API docs" → https://docs.recoupable.dev) |
|---|---|
![]() |
![]() |
Result: pass. Merge stays gated on the DNS cutover (row 5 of app#2352).
Re-verified after merging
|
| Check | Expected | Actual |
|---|---|---|
/docs, /docs/api-reference/publishing/stats, /docs/quickstart.md, /docs/llms.txt, /docs/spec/research.json |
308 → same path on docs.recoupable.dev |
✅ all 308, targets 200 after following |
/docs/llms.txt target |
full page index (no self-link) | ✅ docs-site#8 is live: index has 242 page links |
/sitemap.xml /docs entries |
0 | ✅ 0 |
/llms.txt, /llms-full.txt recoupable.dev/docs links |
0 | ✅ 0 / 0; docs linked at https://docs.recoupable.dev |
| Local | tsc, tests | ✅ tsc clean; vitest 101 files / 420 tests; no remaining refs to the removed scripts |
| CI | green | ✅ check, Vercel, CodeRabbit, cubic |
Ready to merge.


Row 6 of recoupable/app#2352: removes the documentation from Marketing now that it lives in recoupable/docs-site (docs-site#1).
Merge order
Merge only after the DNS cutover (row 5). Until
docs.recoupable.devserves docs-site,recoupable.dev/docsis the only self-hosted copy, and these redirects would send readers to Mintlify. Supersedes marketing#101 (redirectdocs.recoupable.dev→/docs); #101 will be closed when this merges.What changes
app/docs/**,components/docs/**,lib/docs*,lib/docs-server.ts,lib/docs-paths.ts,lib/resolve-{description,spec}-links.ts,content/docs/**, the docs build/check/sync scripts, every contract.pyscript,.github/workflows/documentation-contract.yml,DOCUMENTATION-POLICY.md, and the docs-only tests./docs→https://docs.recoupable.devand/docs/:path*→https://docs.recoupable.dev/:path*, both permanent (next.config.ts). Paths below the root are unchanged on the docs site.docsUrl()(lib/docsUrl.ts, built onsiteConfig.docsUrl).siteConfig.docsPathis removed. The API catalog (/.well-known/api-catalog) lists the platform specs atdocs.recoupable.dev/spec/<name>(platformSpecifications.ts).docscontent type is dropped fromsearch_recoup, the website OpenAPI and the HTTP API, and the API-reference index page is removed./llms.txtnow points agents todocs.recoupable.dev/llms.txtand/llms-full.txtthere./llms-full.txthere carries only the website summaries. This is the simplest correct option: one source of truth for docs, with no copy of the docs corpus in Marketing. Agents that calledtype: "docs"get a validation error and should read the docs site's llms files instead.lib/prefersMarkdown.ts.AGENTS.md,README.mdandcontent/brand/product.mdpoint to docs-site.Local checks
vitest: 100 files / 419 tests pass, including newprefersMarkdown,docsUrlanddocsRedirectstests.tsc --noEmit: clean.eslint: 0 errors (pre-existing warnings only).pnpm build: locally stops at/valuationprerender for lack of a realNEXT_PUBLIC_PRIVY_APP_ID. That is unrelated to this change, and the Vercel preview build (with env) is the gate.Preview verification follows in a PR comment.
🤖 Generated with Claude Code