fix(docs): exclude the draft hook-philosophy reference pages from the docs site - #418
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #418 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 58 58
Lines 1643 1643
Branches 499 499
=========================================
Hits 1643 1643 🚀 New features to boost your workflow:
|
Contributor
|
Size Change: 0 B Total Size: 98.3 kB ℹ️ View Unchanged
|
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.
Overview
Closes #417
docs/hook-design-principles.md("Status: Draft (pending discussion)") anddocs/react-hook-usage-patterns.md(+ ko mirrors) are unlinked contributor drafts insidesrcDirand missing fromsrcExclude, so every build publishes them — both are live on the production site today, and the draft is in the site's local-search index. Same class as #410 / #411, which excluded the other contributor-facing markdown.Changes
'CLAUDE.md', 'AGENTS.md', + 'docs/hook-design-principles.md', + 'docs/ko/hook-design-principles.md', + 'docs/react-hook-usage-patterns.md', + 'docs/ko/react-hook-usage-patterns.md', 'examples/**',The documents stay in the repo; this controls exposure without prejudging their pending discussion.
Verification
yarn docs:build(vitepress 1.6.3) emits 137 pages including all four at/docs/*.html; the local-search chunk contains the draft's anchors. Both pages serve 200 in production today (2026-08-16).yarn fixis clean.Notes
useDebounceillustration stays in-repo, unpublished (tracked in README Quick Start uses a value-debounce useDebounce API that does not exist #413's scope note).Checklist
yarn run fixto format and lint the code and docs?yarn run test:coverageto make sure there is no uncovered line? — N/A, no source changes