feat(toc): support inherited noIndex - #2245
Open
kadymov wants to merge 3 commits into
Open
Conversation
kadymov
marked this pull request as ready for review
September 8, 2026 15:13
kadymov
requested review from
martyanovandrey and
separatrixxx
and removed request for
a team
September 8, 2026 15:13
kadymov
force-pushed
the
DOCSTOOLS-4902-toc-no-index
branch
from
September 10, 2026 14:22
d257d61 to
3f4d5d7
Compare
martyanovandrey
requested changes
Sep 10, 2026
|
martyanovandrey
approved these changes
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
noIndexcan be set in page frontmatter and global configuration, buttoc.yamlcannot consistently prohibit indexing for a page or a whole subtree. This also leaves TOC-only restrictions out of LLMS artifacts.Changes
noIndexon TOC roots and items;href;truewhen TOC metadata and frontmatter are merged in either order and loading mode;llms.txtandllms-full.txtusing the resolved TOC, including worker builds;hiddenindependent: hidden pages remain absent from LLMS output but do not receivemeta.noIndex;false, named and expanded includes, metadata conflicts, and--jobs.Verification
npm test— 1919 tests passed, 1 skipped;npm run typecheck;npm run lint— no errors;npm run build;npm run e2e— 214 tests passed, 1 skipped, 1 todo;git diff --check.Schema: diplodoc-platform/ajv#64
Task: DOCSTOOLS-4902