Skip to content

Plugins: make _defer author-only and mark plugin authoring experimental - #2812

Merged
chalin merged 6 commits into
docsy:mainfrom
chalin:chalin-m24-plugin-defer-internal-2026-0918
Sep 19, 2026
Merged

chalin merged 6 commits into
docsy:mainfrom
chalin:chalin-m24-plugin-defer-internal-2026-0918

Conversation

@chalin

@chalin chalin commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator

- 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
@chalin chalin added this to the 0.18.0 milestone Sep 18, 2026
@netlify

netlify Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsydocs ready!

Name Link
🔨 Latest commit 1b9db7e
🔍 Latest deploy log https://app.netlify.com/projects/docsydocs/deploys/6aadde1f91c0cf0008dbbd58
😎 Deploy Preview https://deploy-preview-2812--docsydocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@chalin
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)
@chalin chalin changed the title Plugins: author-only _defer, plugin authoring marked experimental Plugins: make _defer author-only and mark plugin authoring experimental Sep 18, 2026
- 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)
@chalin
chalin merged commit 7c82f3e into docsy:main Sep 19, 2026
14 checks passed
@chalin
chalin deleted the chalin-m24-plugin-defer-internal-2026-0918 branch September 19, 2026 01:52
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.

1 participant