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

docs: generate Typedocs using Aegir #1476

Merged
merged 9 commits into from
Dec 19, 2022

Conversation

maschad
Copy link
Member

@maschad maschad commented Nov 8, 2022

Closes #1455

@maschad
Copy link
Member Author

maschad commented Dec 2, 2022

Once ipfs/aegir#1107 is merged and a new version of aegir is released then this can be reviewed.

@maschad maschad marked this pull request as ready for review December 6, 2022 19:34
README.md Show resolved Hide resolved
@maschad
Copy link
Member Author

maschad commented Dec 6, 2022

Not sure why CI was failing, rebased and pushed again.

@maschad
Copy link
Member Author

maschad commented Dec 6, 2022

@achingbrain quite a few of the parameters are not exported as modules and therefore no documentation is generated, but they are still referenced by other generated documentation e.g. ConnectionManager or IdentifyService - they are also included in the current API Docs, so do we want to include these? They may not be modules that we want to export but I don't see the downside of exposing them.

@achingbrain
Copy link
Member

quite a few of the parameters are not exported as modules and therefore no documentation is generated, but they are still referenced by other generated documentation

I haven't tried it yet but this might help? https://www.npmjs.com/package/typedoc-plugin-missing-exports

@maschad
Copy link
Member Author

maschad commented Dec 12, 2022

Thanks for that recommendation @achingbrain, once ipfs/aegir#1131 is merged and released then I will re-open this for review.

@achingbrain achingbrain marked this pull request as ready for review December 19, 2022 17:51
@achingbrain achingbrain merged commit 19e96cc into libp2p:master Dec 19, 2022
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.

Docs: use Aegir + TypeDoc to generate and serve documentation in CI
2 participants