Skip to content

docs(react): rewrite @see URLs as markdown links#3421

Merged
kumilingus merged 1 commit into
clientIO:masterfrom
MartinKanera:docs/react-api-tsdoc-fixes
Jul 7, 2026
Merged

docs(react): rewrite @see URLs as markdown links#3421
kumilingus merged 1 commit into
clientIO:masterfrom
MartinKanera:docs/react-api-tsdoc-fixes

Conversation

@MartinKanera

Copy link
Copy Markdown
Contributor

Bare @see https://docs.jointjs.com/... URLs in joint-react TSDoc render poorly in the generated API reference: the docs converter falls back to the URL path tail as link text (Paper#wakeUp), and the #wakeUp anchor doesn't match the lowercase Docusaurus slug, so the link lands nowhere.

Rewrites all 7 bare @see URLs as markdown links with code-styled, human-readable text (e.g. [paper.wakeUp()](https://docs.jointjs.com/api/dia/Paper#wakeup)) and fixes the anchor casing. The converter in joint-docs preserves author link text, so the API reference picks these up on the next regeneration (already verified end to end).

Touched: use-paper.ts, paper.types.ts, graph-provider.tsx — TSDoc comments only, no runtime changes.

🤖 Generated with Claude Code

Bare @see URLs rendered with the path tail as link text (Paper#wakeUp)
in the generated API reference, and the #wakeUp anchor didn't match the
lowercase Docusaurus slug. Markdown links give readable text and correct
anchors; the docs converter preserves both.
@MartinKanera
MartinKanera requested a review from kumilingus July 7, 2026 18:15
@kumilingus
kumilingus merged commit daeef08 into clientIO:master Jul 7, 2026
3 checks passed
@MartinKanera
MartinKanera deleted the docs/react-api-tsdoc-fixes branch July 7, 2026 18:50
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