Skip to content

Plugins: drop the options and weight entry fields - #2799

Merged
chalin merged 8 commits into
docsydev:mainfrom
chalin:chalin-m24-plugin-prune-options-weight-2026-0909
Sep 9, 2026
Merged

Plugins: drop the options and weight entry fields#2799
chalin merged 8 commits into
docsydev:mainfrom
chalin:chalin-m24-plugin-prune-options-weight-2026-0909

Conversation

@chalin

@chalin chalin commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Site-side options and weight on a plugin entry must produce the
docsy-config unknown-field warning while the entry still applies. Fails
until the schema drops both fields.
Plugin entries are now `{defer, enable, version}`. Nothing shipped with the
theme read `weight`, and MarkMap's `height` was the only `options` reader;
its map returns to the fixed 300px style. The loop drops the options
normalization and warning, the weight cast and sort, and the `params`
js.Build option (no more `@params` transport); entries emit in the range's
key order. Unreleased fields, so no changelog entry.
Plugin fixtures no longer import @params; the companion case reads
.Plugin.version, theme inheritance rides a version, the weight-order case
becomes a determinism check, and the MarkMap height cases collapse into a
fixed-rule assertion. The options-shape cases are gone with the field.
User guide: drop the weight reference bullets, the @params file-table cell
and key-spelling aside, the options-specific security bullets, and MarkMap's
height option (the map is 300px). Design page: the pin never reaches JS;
name order is an implementation detail, not a contract. Quality page:
loop-contract and runtime-net descriptions follow.
@chalin chalin added this to the 0.18.0 milestone Sep 9, 2026
@chalin
chalin merged commit e10be07 into docsydev:main Sep 9, 2026
18 checks passed
@chalin
chalin deleted the chalin-m24-plugin-prune-options-weight-2026-0909 branch September 9, 2026 16:45
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