Skip to content

Add SEO config to index all pages and set canonical URL#2429

Merged
johndmulhausen merged 4 commits intomainfrom
seo-indexing-all
Apr 7, 2026
Merged

Add SEO config to index all pages and set canonical URL#2429
johndmulhausen merged 4 commits intomainfrom
seo-indexing-all

Conversation

@johndmulhausen
Copy link
Copy Markdown
Contributor

@johndmulhausen johndmulhausen commented Apr 7, 2026

Go to /sitemap.xml in the preview and search for /support to see what this fixes.

Summary

  • Adds seo.indexing: "all" to docs.json so Mintlify indexes every page in the project, not just pages in the navigation. This fixes hidden tab content not appearing in search results (the default "navigable" mode only indexes pages explicitly listed in navigation).
  • Adds seo.metatags.canonical set to https://docs.wandb.ai to establish the canonical URL for search engines.
  • Get rid of some repo detritus (unused package.json and Vale configs)

Test plan

  • Verify docs.json is valid JSON and mint dev starts without errors.
  • After deploy, confirm that previously hidden tab content appears in search results.
  • Check that the canonical meta tag renders correctly in page source (<link rel="canonical" href="https://docs.wandb.ai">).

Hidden tab content is not appearing in search results because
Mintlify defaults to indexing only navigable pages. Setting
seo.indexing to "all" ensures every page is indexed, including
content inside hidden tabs. Also sets the canonical metatag to
docs.wandb.ai.
@johndmulhausen johndmulhausen marked this pull request as ready for review April 7, 2026 21:46
@johndmulhausen johndmulhausen requested a review from a team as a code owner April 7, 2026 21:46
This commit deletes various configuration files related to Vale and Microsoft style guides that are no longer needed. The removed files include .vale.ini, multiple YAML files for Google and Microsoft styles, and associated metadata files. This cleanup helps streamline the project by removing unused resources.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

📚 Mintlify Preview Links

🔗 View Full Preview

📝 Changed (1 total)

⚙️ Other (1)
File
docs.json

🗑️ Deleted (3 total)

View deleted files

📄 Pages (3)

File
.github/styles/alex/README.md
.github/styles/proselint/README.md
.github/styles/write-good/README.md

🤖 Generated automatically when Mintlify deployment succeeds
📍 Deployment: 4cb897d at 2026-04-07 21:56:19 UTC

The OneTrust cookie consent banner, GDPR notices, consent-gated
analytics (Segment, Clarity), and the cookie settings button now
only load when the hostname is docs.wandb.ai. Localhost and
Mintlify preview URLs (*.mintlify.app) are excluded.
@johndmulhausen johndmulhausen merged commit 5accd4a into main Apr 7, 2026
9 checks passed
@johndmulhausen johndmulhausen deleted the seo-indexing-all branch April 7, 2026 21:58
@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Apr 7, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
wandb 🔴 Failed Apr 7, 2026, 10:03 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant