-
Notifications
You must be signed in to change notification settings - Fork 208
Add labs/context package to generated API docs #1092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This required changing the build setup to use our wireit. From a spot check this will need more work as some debug only symbols have crept into the documentation.
The cost does not seem worthwhile for fixing this and blocking progress on Lit.dev support for v3. Instead unblock by manually providing the transpiled JavaScript for the Mixin sample.
This is due to a breaking change in TypeDoc. Default `entryPointStrategy` was changed from `expand` to `resolve`. Fixed by explicitly setting the prior version.
This fixes the source file links.
Co-authored-by: Augustine Kim <[email protected]>
The most major change that impacts our documentation generation is the `Comment` node has been updated to be a list of partial text fragments. We instead used to use a first line `shortText`, and remainder in `text`. This commit "fakes" that setup by doing the processing manually.
For example see parameters in: /docs/api/ReactiveElement/#ReactiveElement.requestUpdate
Tested by checking `observedAttributes` docs and `updateComplete`
A live preview of this PR will be available at the URL(s) below. |
The API docs are weird here. It seems to be documenting every class/interface member as a top-level module export. |
Oh yeah that is weird. I'm currently working on updating TypeDoc yet again to the most recent version to try and fix some of this weirdness. |
Figured it out - but was easier to start fresh. |
Recommend reviewing 1 PR at a time. Builds on #1090
This is a WIP - but I've made the PR early to show that it generates.