Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
6 changes: 3 additions & 3 deletions docs/static/robots.txt
Original file line number Diff line number Diff line change
@@ -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
Loading