Skip to content

JS docs#4217

Merged
SteffenDE merged 6 commits intomainfrom
sd-typedoc-more-ts
May 7, 2026
Merged

JS docs#4217
SteffenDE merged 6 commits intomainfrom
sd-typedoc-more-ts

Conversation

@SteffenDE
Copy link
Copy Markdown
Collaborator

@SteffenDE SteffenDE commented May 6, 2026

Supersedes #4216.

Moves more code to typescript to prevent exposing temporary implementation details.

image

@SteffenDE SteffenDE force-pushed the sd-typedoc-more-ts branch 2 times, most recently from f35391c to 8717ae9 Compare May 7, 2026 08:59
rhcarvalho and others added 4 commits May 7, 2026 09:56
In order to make consuming and pointing to the LiveView JS documentation
easier, this commit replicates the setup used in Phoenix to build and publish
the JS documentation alongside the Elixir documentation in HexDocs.

Because TypeScript is used in the LiveView JS codebase in the past year, use
`typedoc` instead of `documentation` (which Phoenix uses for plain JS). By
pointing `typedoc` directly to the `index.ts` entry point, we ensure only the
public API is generated and documented.

The resulting HexDocs sidebar includes a "JS Documentation" entry right after
the Changelog, same as in Phoenix.
@SteffenDE SteffenDE force-pushed the sd-typedoc-more-ts branch from bc19f88 to 8463b43 Compare May 7, 2026 09:56
@SteffenDE SteffenDE force-pushed the sd-typedoc-more-ts branch from 8463b43 to 07e0f48 Compare May 7, 2026 09:58
@SteffenDE SteffenDE merged commit 832f21c into main May 7, 2026
16 checks passed
@SteffenDE SteffenDE deleted the sd-typedoc-more-ts branch May 7, 2026 10:35
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.

2 participants