Repository navigation
Plugins: make _defer author-only and mark plugin authoring experimental - #2812
Merged
chalin merged 6 commits intoSep 19, 2026
Merged
Conversation
- Marks `_defer` internal in the schema: `_`-prefixed entry fields belong to a plugin's author, declared with the plugin or set by its shim, not by consumer sites - Keeps every shipped tag byte-identical (scripts goldens unchanged); the click-to-copy shim still pins the field
- Labels the UG's author section experimental per the changelog's definition, keeping site-facing plugin configuration in the supported surface - Homes the `_`-prefix convention once per audience: UG reference bullet for sites, § Loading strategy for authors, the design page for the rationale
✅ Deploy Preview for docsydocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
chalin
marked this pull request as ready for review
September 18, 2026 22:05
…label - Trims the UG author lead to the badge plus one pointer; § Loading strategy keeps the author how-to only - Qualifies the design page's site-owns-the-outcome claim with the shim-pin exception, and retargets the implementation and quality links at the sections that now state the pin - Review round 1 (r1.1-r1.6, r1.8-r1.12)
…ection - Homes the consumer semantics of `version` in the configuration reference, leaving § Dependency versions to author mechanics under the badge - States emission order rather than load order in § Loading strategy, since a deferred companion runs after a synchronous plugin - Drops development chronology from the design and quality pages, per the as-designed documentation rule - Review round 2 (r2.1-r2.3, r2.6, r2.7)
_defer, plugin authoring marked experimental_defer author-only and mark plugin authoring experimental
- Frames the registry as Docsy's optional scripts in the UG intro, description, and changelog New entry; the lookandfeel hook section offers plugins as the experimental alternative, not the replacement - Re-homes click-to-copy's consumer-facing limit in § Copy to clipboard and the timing reason in § Loading strategy, which now speaks of setting `_defer` rather than the script doing so - Names `_defer` as the schema's one author field, lists it after the consumer fields, and shortens its rendered comment - Review round 3 (r3.1-r3.13)
- Repairs the docsy.dev `test:md-output` gate, red since the description first changed on this branch - Orders the configuration-reference bullets as the embedded schema does, points the companion example at the theme's `markmap` companion, and splits the loading-strategy sentence - Review round 4 (r4.1, r4.3-r4.8, r4.10)
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.
deferbecomes_defer, an author-only entry field: declared with the plugin or set by its shim, coerced as before, defaultfalse_-fields) is labeled experimental in the UG and changelog; site-facing plugin configuration stays supported_deferas the author field; § Loading strategy is the author-facing home; shipped script tags are byte-identical for configurations without a consumerdefer(scripts goldens unchanged); a consumerdefernow draws the unknown-field warning instead of being honored