Repository navigation
docs(nav): keep live v2 pages indexed under the hidden v1 nav - #1396
Conversation
37 live v2 pages serve `<meta name="robots" content="noindex">` and drop out of sitemap.xml. `/introduction` is one of them. The `en` navigation declares two versions. `v2` is visible. `v1` carries `hidden: true`. The v1 `Documentation` and `SDKs` tabs re-list the same page paths the v2 nav uses. They do not point at v1-specific copies. Mintlify resolves indexing per page path, so the hidden v1 listing wins over the visible v2 one. This change adds `searchable: true` beside the existing `hidden: true` on the v1 `Documentation` and `SDKs` tabs. Per the docs.json schema, `searchable` on a hidden node keeps descendant pages indexed for search, sitemap, AI assistant, and llms.txt. The flag only works when `hidden` is set on the same node. The change covers the `en` block and all five localized blocks: es, fr, ja, pt-BR, zh. The v1 `Integrations` and `API Reference` tabs stay untouched. Their 20 pages exist only in v1, so they stay noindexed. All 37 paths that this change makes searchable also appear under the visible v2 navigation. PR #1253 added this flag. PR #1346 removed the English lines. PR #1347 removed the localized lines. The flag is needed. Do not remove it again. Purely additive: 12 inserted lines, 0 deletions, one file. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CEeUdmLgiSQtgd8qrKjKSU
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Why the red check is not from this PRThe failing check is "Locale literals and extraction-hostile markdown", run 34314030564. It is pre-existing on Base Every finding sits in a locale I did not re-run the failed check. The byte-identical base reproduction is stronger evidence than a re-run. It isolates the change instead of retrying the same job. This diff cannot affect the check. The script reads its whole input set from The failure is invisible on No fix is ported here. Fixing it means editing Locadex-generated locale Mintlify Validation link-rotThat check is The preview cannot verify this fixThe preview host serves Verification needs a production scrape after merge. Production Generated by Claude Code |
Requested by Hiba Fathima, Rak Ramprakash · Slack thread
Before: A reader opens
https://docs.firecrawl.dev/introduction. The page renders correctly. The page source carries<meta name="robots" content="noindex">. The page is absent fromsitemap.xml. Google drops it. The same is true for 36 more live v2 pages, including everyfeatures/*, everysdks/*, and everywebhooks/*page. Search for "firecrawl scrape docs" and the official page does not come back.After: The same pages render the same way. The
robotsmeta tag is gone. All 37 pages return tositemap.xml, to search, to the docs AI assistant, and tollms.txt. The 20 genuinely-v1 pages stay noindexed.This change adds
"searchable": truebeside the existing"hidden": trueon the v1DocumentationandSDKstabs, in theenblock and in all five localized blocks.How.
docs.jsondeclares two versions per language.v2is visible.v1carrieshidden: true. The v1DocumentationandSDKstabs re-list the same page paths that the visible v2 nav uses. They do not point at v1-specific copies. Mintlify resolves indexing per page path, so the hidden v1 listing wins over the visible v2 one. Per thedocs.jsonschema,searchableon a hidden node keeps descendant pages indexed for search, sitemap, AI assistant, andllms.txtwhile they stay out of the rendered navigation. The flag has no effect unlesshiddenis set on the same node, which it already is. Nothing that renders changes.Regression history. Please do not remove this flag again.
570395e(2026-05-07) addedhidden: trueto the v1 version. This started the problem.4bcbc3d(2026-08-12) fixed it. It addedsearchable: truebesidehidden: trueon the v1DocumentationandSDKstabs in theenblock.df1028c(2026-09-01) deleted both Englishsearchablelines. It stated the intent "English v1 stays hidden and unsearchable".ebdca99deleted the localized lines. The Locadex bot owns the localized page directories and mirrors English, so it followed Fix init skill-family copy and remove English migrate-to-v2 #1346.mainbefore this PR,docs.jsonheld zerosearchablekeys. The bug is live.The intent in #1346 and the goal of this PR are compatible. This PR keeps every genuinely-v1 page unsearchable. It restores only the page paths that v1 shares with the visible v2 nav. The v1
IntegrationsandAPI Referencetabs are untouched, so their 20 v1-only pages stay hidden and unsearchable. Removing the flag again re-breaks 37 live v2 pages.docs.jsonis strict JSON and takes no comment, so this note has to live here in the PR body.Note on the localized blocks: the Locadex bot owns the
es/ fr/ ja/ pt-BR/ zh/page directories and mirrors English. This PR edits only the localized navigation blocks insidedocs.json, which is what PR #1253 edited by hand. No locale.mdxfile is touched.Verification. Every one of the 37 paths that this change makes searchable also appears under the visible
v2navigation. Zero v1-only paths are affected. The count is 37 per language, and 222 path entries across the 6 languages.docs.jsonparses as JSON. The three repo checks in.github/workflows/checks.ymlproduce byte-identical output with and without this change.The 37 restored paths
Each locale carries the same 37 paths under its own prefix, for example
es/introduction.🤖 Generated with Claude Code
https://claude.ai/code/session_01CEeUdmLgiSQtgd8qrKjKSU
Generated by Claude Code