Skip to content

chore: add @packageDescription to plugins - #10652

Merged
zspriggs merged 4 commits into
RaspberryPiFoundation:mainfrom
zspriggs:plugins-package-documentation
Nov 3, 2026
Merged

zspriggs merged 4 commits into
RaspberryPiFoundation:mainfrom
zspriggs:plugins-package-documentation

Conversation

@zspriggs

@zspriggs zspriggs commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #10641

Proposed Changes

Adds @packageDocumentation to each plugin, so that plugin descriptions show on the plugins API landing page. Descriptions are taken from the package.json of each plugin, except for workspace-minimap since that didn't have a real description.

@packageDocumentation replaces @fileoverview when applicable.

@fileoverview is also added to the list of ignored tags for TypeDoc in the plugins typedoc.json. TypeDoc attaches @fileoverview to whatever comes immediately after it, so descriptions of a whole file end up on the API doc page for whichever class, interface, etc that happens to be declared first. Note that there's also a few other tags (the default tags for TypeDoc) added, since adding ignored tags overrides TypeDoc's defaults.

Reason for Changes

Right now, the reference docs landing page for plugins is name of the plugin with an empty description column. @packageDocumentation tells TypeDoc those descriptions.

Test Coverage

Documentation

Additional Information

Note that as of right now, we haven't deployed docs yet since the plugins API changes were made, so if you'd like to see what the landing page looked like before this PR, run docs locally from main.

@zspriggs
zspriggs requested a review from a team as a code owner November 2, 2026 22:55
@zspriggs
zspriggs requested a review from lizschwab November 2, 2026 22:55
@github-actions github-actions Bot added the PR: chore General chores (dependencies, typos, etc) label Nov 2, 2026

@lizschwab lizschwab left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I don't know why there are linting errors about empty lines but only on some files. All the plugins should have the same rules. But the lint step passed so I wouldn't worry too much about it. ¯_(ツ)_/¯

@zspriggs
zspriggs merged commit a4dbe9f into RaspberryPiFoundation:main Nov 3, 2026
6 checks passed
@zspriggs
zspriggs deleted the plugins-package-documentation branch November 3, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: chore General chores (dependencies, typos, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix plugin API landing page

2 participants