Skip to content

docs: add @since TypeDoc tags, drop versioned documentation#936

Draft
barjin wants to merge 1 commit into
masterfrom
docs/since-tags
Draft

docs: add @since TypeDoc tags, drop versioned documentation#936
barjin wants to merge 1 commit into
masterfrom
docs/since-tags

Conversation

@barjin

@barjin barjin commented Jun 11, 2026

Copy link
Copy Markdown
Member

Drops the Docusaurus-based versioned documentation and adds the @since tags to the JSDoc blocks. These are rendered as shown below ⬇️

image

The main issue remains the need for manual updates of the @since tags on new symbols. The initial seeding was done by a script - perhaps we could add this to the CI?


This is an experimental PR as a follow-up to an internal Tooling team discussion.

@barjin barjin self-assigned this Jun 11, 2026
@barjin barjin added the adhoc Ad-hoc unplanned task added during the sprint. label Jun 11, 2026
Comment on lines +135 to +137
/**
* @since Added in 2.0.1
*/

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 seems redundant — no way the property could've been added before the interface itself... right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes... but I'd have everything explicit rather than implementing some unclear "distributive" logic in the plugin. The @since tag in TypeDoc doesn't have any deeper logic behind it (docs).

Some of the docblocks now look rather repetitive; this is something I'm hoping will change with the OpenAPI-generated clients (and the docs team's initiative to have better docblocks, as briefly discussed recently).

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.

Can we at least hide these repeated ones in the rendered docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants