Skip to content

Conversation

@mt-dfrey
Copy link
Contributor

@mt-dfrey mt-dfrey commented Oct 5, 2023

  • bulid(doc) add typedoc
  • chore(docs) run yarn build:docs

Type doc generates browsable documentation of the typescript definitions.
This makes our docs more maintainable. Currently we use markdown tables to document method parameters, required-ness & types. These drift easily and incur duplication. The generated documentation approach prevents the duplication (i.e. declaring types twice) and the drift (markdown doc contradicting code).

5e80226 just runs the static page generation (yarn build:docs), so it's not really meant for human review.

@mt-dfrey mt-dfrey requested a review from a team as a code owner October 5, 2023 03:22
@mt-dfrey mt-dfrey force-pushed the add-type-doc branch 2 times, most recently from b976e1e to 976e7c2 Compare October 5, 2023 03:31
@mt-dfrey mt-dfrey mentioned this pull request Oct 5, 2023
@mt-dfrey mt-dfrey merged commit 94dfb2d into master Oct 5, 2023
@mt-dfrey mt-dfrey deleted the add-type-doc branch October 5, 2023 08:53
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.

3 participants