diff --git a/docs/CLAUDE.md b/docs/CLAUDE.md index c9c1a0aa8..f4881d461 100644 --- a/docs/CLAUDE.md +++ b/docs/CLAUDE.md @@ -34,8 +34,7 @@ highlighted code blocks, and Mermaid diagrams. ## Site configuration (`docusaurus.config.js`) - Version label: `presets` > `docs.versions.current.label` (now `1.x`). -- `noIndex: true` and a blocking `static/robots.txt` keep the pre-launch - deploy out of search engines; remove both at launch. +- `static/robots.txt` allows indexing and declares the generated sitemap. - Google Tag Manager is commented out in `plugins`; add a container id to enable analytics. - Algolia DocSearch credentials are placeholders. Apply for DocSearch only diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 0eb4ad73c..d5fdac7b4 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -83,10 +83,6 @@ const config = { organizationName: 'software-mansion', projectName: 'react-native-enriched-html', - // TODO: remove once the site is ready for public traffic. Until then, - // keep the deploy hidden from search engines. - noIndex: true, - onBrokenLinks: 'throw', onBrokenAnchors: 'throw', markdown: { diff --git a/docs/static/robots.txt b/docs/static/robots.txt index 37cbcd945..206f31a80 100644 --- a/docs/static/robots.txt +++ b/docs/static/robots.txt @@ -1,4 +1,4 @@ -# Pre-launch deploy. Block all crawlers until the docs.swmansion.com DNS -# swap lands and the site is ready for public traffic. User-agent: * -Disallow: / +Allow: / + +Sitemap: https://docs.swmansion.com/react-native-enriched-html/sitemap.xml