You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up typedoc to generate documentation from jsdoc comments (#651)
## Summary:
[typedoc](https://typedoc.org/) can generate nice documentation sites from jsdoc comments. This PR configures the tool to generate documentation. It's themeable so if we don't like the theme we can swap it out for something else, see https://typedoc.org/guides/themes/.
TODO:
- [x] publish docs/ folder using the same gh-pages action as wonder-blocks
Issue: None
## Test plan:
- yarn build:docs
- open docs/index.html
<img width="1904" alt="Screen Shot 2023-04-14 at 5 04 56 PM" src="https://user-images.githubusercontent.com/1044413/232155355-51e39fd9-a128-4c5f-8d95-2bf4925bf6de.png">
<img width="1904" alt="Screen Shot 2023-04-14 at 5 04 29 PM" src="https://user-images.githubusercontent.com/1044413/232155370-1c949a4f-9ef7-43ad-8eca-bf44ddd1f31b.png">
The default theme supports dark mode out of the box:
<img width="1904" alt="Screen Shot 2023-04-14 at 5 31 18 PM" src="https://user-images.githubusercontent.com/1044413/232158556-3088e8fc-f724-4f7f-abd3-d246dc157ece.png">
Author: kevinbarabash
Reviewers: jeresig
Required Reviewers:
Approved By: jeresig
Checks: ✅ codecov/project, ✅ Test (macos-latest, 16.x), ✅ Test (macos-latest, 16.x), ✅ Lint, typecheck, and coverage check (ubuntu-latest, 16.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ⏭ gerald, ✅ Lint, typecheck, and coverage check (ubuntu-latest, 16.x), ⏭ gerald, ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ Test (macos-latest, 16.x), ✅ CodeQL, ✅ Lint, typecheck, and coverage check (ubuntu-latest, 16.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ Analyze (javascript), ✅ gerald, ⏭ dependabot
Pull Request URL: #651
0 commit comments