Skip to content

Fix hidden pages in sitemap exports#4216

Merged
rodrcastro merged 5 commits intomainfrom
codex/rnd10663-hidden-pages
Apr 30, 2026
Merged

Fix hidden pages in sitemap exports#4216
rodrcastro merged 5 commits intomainfrom
codex/rnd10663-hidden-pages

Conversation

@rodrcastro
Copy link
Copy Markdown
Contributor

@rodrcastro rodrcastro commented Apr 28, 2026

Summary

  • Include hidden-but-indexable pages in llms.txt, llms-full.txt, and sitemap page exports
  • Preserve ancestor-aware noIndex / noRobotsIndex filtering
  • Add regression coverage for hidden pages and nested group traversal

Testing

  • bun test packages/gitbook/src/lib/sitemap.test.ts
  • bun run format
  • cd packages/gitbook && bun run typecheck

Fixes RND-10663

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 28, 2026

⚠️ No Changeset found

Latest commit: c28fd2c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@argos-ci
Copy link
Copy Markdown

argos-ci Bot commented Apr 28, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2-cloudflare (Inspect) ✅ No changes detected - Apr 30, 2026, 12:57 PM
customers-v2-vercel (Inspect) ✅ No changes detected - Apr 30, 2026, 12:57 PM
v2-cloudflare (Inspect) 👍 Changes approved 13 changed Apr 30, 2026, 1:02 PM
v2-vercel (Inspect) 👍 Changes approved 20 changed Apr 30, 2026, 1:03 PM

@linear
Copy link
Copy Markdown

linear Bot commented Apr 28, 2026

@rodrcastro rodrcastro marked this pull request as ready for review April 28, 2026 09:51
@rodrcastro rodrcastro requested a review from gregberge April 28, 2026 09:52
Comment thread packages/gitbook/src/lib/sitemap.ts Outdated
@rodrcastro rodrcastro merged commit 7061fc2 into main Apr 30, 2026
17 checks passed
@rodrcastro rodrcastro deleted the codex/rnd10663-hidden-pages branch April 30, 2026 13:04
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.

2 participants