-
Notifications
You must be signed in to change notification settings - Fork 14
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
Start adding docs via typedoc #659
Conversation
|
The preview packages of this pull request have been published. bigtestInstall using the following command: $ npm install bigtest@typedoc-poc Or update your package.json file: {
"bigtest": "typedoc-poc"
} @bigtest/interactorInstall using the following command: $ npm install @bigtest/interactor@typedoc-poc Or update your package.json file: {
"@bigtest/interactor": "typedoc-poc"
} @bigtest/suiteInstall using the following command: $ npm install @bigtest/suite@typedoc-poc Or update your package.json file: {
"@bigtest/suite": "typedoc-poc"
} |
How can I preview the docs in a browser, like what command should I run? I tried browsing TypeDoc's website but I couldn't figure it out. |
Recommendation: switch to typedoc@beta, which is version 0.20.0-beta.#, and is under active development. I need to update the linked PR to point people towards that... |
Thank you @Gerrit0! |
Thanks @Gerrit0, I upgraded to the beta and it works perfectly. @jorgelainfiesta I don't have any good way of putting these docs online right now. You can run |
We'll probably want to add a deploy hook for these! |
232ef86
to
6d7b50b
Compare
5d659dd
to
e618b9a
Compare
03c9767
to
313eb78
Compare
This is by no means done, but I think it's good enough now where we can actually merge this and start working on integrating these docs into the website. Docs can be generated for the |
# BigTest | ||
|
||
This is cool stuff {@link createInteractor}, yeah! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is just a placeholder, we'll want to expand this to link to the most relevant parts of the documentation.
Doing this allows us to link stuff from the API docs and have a better introduction. We'll have getting started guides separate anyway.
This makes it easier to work on documentation for each package individually.
This is a first stab at adding docs via TypeDoc.
Unfortunately this uses a frozen in time, outdated fork of TypeDoc, found here TypeStrong/typedoc#1184, because the output generated just isn't very nice, but is pretty great with this fork 🤷♂️
It seems like some other projects are also doing this. Not sure what this says about TypeDoc.
It also takes some finagling to get docs for interactors to display in a comprehensible way.