Skip to content

Conversation

davemooreuws
Copy link
Member

Hides comparison documentation pages from search engine indexing and the sitemap.

This prevents these pages from appearing in search results.

The changes include:

  • Adding a noindex field to the contentlayer configuration
  • Setting noindex: true in the frontmatter of comparison MDX documents
  • Updating the sitemap generation to exclude comparison pages
  • Adding a disallow rule to the robots.txt for the /misc/comparison/ path

Closes NIT-11

Copy link

vercel bot commented Sep 17, 2025

@davemooreuws is attempting to deploy a commit to the Nitric Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Sep 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
nitric-docs Ready Ready Preview Comment Sep 17, 2025 1:46am

@HomelessDinosaur
Copy link
Member

Is this also removing it from the Algolia search? Not sure how that is indexed.

@davemooreuws davemooreuws merged commit f9889ec into nitrictech:main Sep 17, 2025
5 of 6 checks passed
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.

5 participants