Skip to content

Update typedoc to latest and fix json generation. Add typedoc configs per package.#132

Open
skrustev wants to merge 7 commits intomasterfrom
skrastev/typedoc-json
Open

Update typedoc to latest and fix json generation. Add typedoc configs per package.#132
skrustev wants to merge 7 commits intomasterfrom
skrastev/typedoc-json

Conversation

@skrustev
Copy link
Copy Markdown
Member

@skrustev skrustev commented Mar 19, 2026

Closes #135

@dkamburov
Copy link
Copy Markdown
Contributor

The generation works and the missing apis are visible now, but the output is going to the typedoc/legacy folder

@skrustev
Copy link
Copy Markdown
Member Author

@dkamburov The folder shouldn't be an issue, since I've updated the pipeline to use it as the new source for the old typedoc.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repo’s TypeDoc toolchain/configuration to generate both legacy HTML docs and per-package JSON outputs, and adjusts the custom TypeDoc plugin to include inherited/base-class members (addressing the missing-properties issue described in #135).

Changes:

  • Added per-package TypeDoc option files for JSON output generation and a legacy options file for HTML output.
  • Updated build scripts and Azure pipeline packaging to use the new legacy output folder layout.
  • Updated the custom TypeDoc plugin to traverse base types for member extraction and added logic intended to avoid JSON circular references.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
typedoc.json Base TypeDoc configuration; removes default out so output location is controlled by option files.
typedoc.legacy.json New legacy HTML output configuration targeting ./typedocs/legacy/.
typedoc.components.json New per-package JSON output config for core components/grid-lite.
typedoc.dock-manager.json New per-package JSON output config for dock manager.
typedoc.grids.json New per-package JSON output config for grids.
plugins/typedoc-plugin-react-components/src/main.ts Extends member parsing to include base types; adds comment sanitization intended for JSON generation.
plugins/typedoc-plugin-react-components/package.json Tweaks plugin scripts/formatting (notably removes dist clean step).
package.json Updates TypeDoc scripts, adds per-package build commands, bumps TypeDoc/theme/plugin deps.
package-lock.json Locks updated TypeDoc/theme/localization deps and adds merge-modules plugin.
.azure-pipelines/api-docs.yml Archives legacy TypeDoc output from typedocs/legacy instead of typedocs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread plugins/typedoc-plugin-react-components/package.json
Comment thread package.json
Comment thread plugins/typedoc-plugin-react-components/src/main.ts
Comment thread plugins/typedoc-plugin-react-components/src/main.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New API for Components with base classes missing properties from those base classes

3 participants