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

Reference documentation for bolt-js #833

Open
seratch opened this issue Mar 15, 2021 · 5 comments
Open

Reference documentation for bolt-js #833

seratch opened this issue Mar 15, 2021 · 5 comments
Labels
discussion M-T: An issue where more input is needed to reach a decision docs M-T: Documentation work only
Milestone

Comments

@seratch
Copy link
Member

seratch commented Mar 15, 2021

Related to this, Can we get TypeDocs for this project so it's easier to use?
https://typedoc.org/

I have struggled a lot in the last couple of days figuring the types and way this works and it's been hard with the current state of docs!

Originally posted by @msrivastav13 in #826 (comment)

@gitwave gitwave bot added the untriaged label Mar 15, 2021
@seratch seratch added discussion M-T: An issue where more input is needed to reach a decision docs M-T: Documentation work only TypeScript-specific and removed untriaged labels Mar 15, 2021
@seratch
Copy link
Member Author

seratch commented Mar 19, 2021

#277 is not related to the auto-generated document like typedocs but the topic should be related to this issue.

@seratch seratch added this to the 3.5.0 milestone Mar 23, 2021
@seratch seratch modified the milestones: 3.5.0, 3.6.0 Jun 5, 2021
@seratch seratch modified the milestones: 3.7.0, 3.x Aug 23, 2021
@filmaj filmaj changed the title Better documentation for TypeScript users Reference documentation for bolt-js Sep 14, 2024
@filmaj
Copy link
Contributor

filmaj commented Sep 14, 2024

Renaming this issue to be more about reference documentation - with the work @lukegalbraithrussell has done, we now have pretty good baseline reference docs for the node-slack-sdk (see e.g. here), and we should do something similar for bolt-js.

@filmaj filmaj modified the milestones: 3.x, 4.0.0 Sep 15, 2024
@lukegalbraithrussell
Copy link
Contributor

Yes, the node docs use TypeDocs! We can definitely do the same here. I'll implement this after Dreamforce/PTO

@filmaj filmaj modified the milestones: 4.0.0, 4.x Sep 27, 2024
@filmaj
Copy link
Contributor

filmaj commented Oct 3, 2024

I've created a branch where I'm playing around with this, over in generated-ref-docs. You can pull that branch down, cd docs and run npm i && npm start. I haven't wired up the generated ref docs into the sidebar, so you'll have to manually load /bolt-js/ref for now to see it.

Need to figure out how to consolidate the hand-written reference docs we have today with the generated ones; I'm thinking fold the hand-written docs into comment blocks into the code so that the generated ref docs incorporate them?

@filmaj
Copy link
Contributor

filmaj commented Oct 10, 2024

I really like the deno reference docs: https://docs.deno.com/api/deno/file-system

Need to study how those are generated via this repo: https://github.com/denoland/docs?tab=readme-ov-file

Wonder if their approach would work for us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion M-T: An issue where more input is needed to reach a decision docs M-T: Documentation work only
Projects
None yet
Development

No branches or pull requests

4 participants