Skip to content
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

Add autogenerated TypeDoc docs #2837

Merged
merged 12 commits into from
Aug 18, 2022
Merged

Add autogenerated TypeDoc docs #2837

merged 12 commits into from
Aug 18, 2022

Conversation

acywatson
Copy link
Contributor

This should help a bit with documentation woes. We'll have to iteratively go through and add comments to functions for this to be really helpful.

One thing to note is that the titles of the "modules" in the sidebar are wrong and can't be overridden without a comment in the file header (has to be at the top of the file). We have a lint rule that was silently overwriting all my changes in the pre-commit 🙄 so I'll need to fix that to support the module name override eventualy.

@vercel
Copy link

vercel bot commented Aug 15, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Aug 18, 2022 at 2:56AM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Aug 18, 2022 at 2:56AM (UTC)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 15, 2022
Copy link
Member

@zurfyx zurfyx left a comment

Choose a reason for hiding this comment

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

As per our offline discussion, I think it's a good idea even if that doesn't solve all our documentation needs 👍

@acywatson acywatson merged commit 3f339a7 into main Aug 18, 2022
@acywatson acywatson deleted the typedoc branch August 18, 2022 03:33
@acywatson
Copy link
Contributor Author

Closes #1517 #1519 #1520 #1521 #1522 #1523 #1524 #1525 #1527

thegreatercurve pushed a commit that referenced this pull request Nov 25, 2022
* upgrade docusaurus

* add typedoc deps

* add typedoc documentation

* patched plugin

* update module names

* add file header

* revert eslint changes

* shuffle dependencies

* lint

* remove duplicate headers

* move API to separate topnav and sidebar

* rename modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants