-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Re-consider having API docs for certain packages #835
Comments
@luizstacio Want to chime in and list the packages you had in mind?
|
I would like to see API documentation for certain packages within the TS SDK. Contextualised documentation and cookbooks (as we have currently) goes hand in hand with API documentation, and something I usually expect some level of with complex libraries. Done properly as well this is something that can just work alongside us as well rather than adding unnecessary overhead. At a high level, I would like to see the entry point classes and methods documented for our core packages, as well as the parameters and config that they require, this could include:
I agree with the above points that it should be under a separate menu item to our current documentation menu items. I also think it is easier to maintain as it is directly to our business logic when using something like typedoc. And then easily incorporated to vitepress by outputting markdown. I also agree with trying to reduce noise in code. We should do this in iterations, at first I would like to see the above just referenced and documented, potentially without any additional explanation to what is already available to us when highlighting functions in IDEs. Any additional noise could be added using type doc references? |
@danielbate Thanks. Each of these bullet points can become an individual task. The first task should also add back @Torres-ssf I can't remember — did we make any progress experimenting with |
@arboleya @Torres-ssf I'd be happy to take those on 👍🏻 I can write up some tasks later on also |
@arboleya, When we switched to Vitepress as our Doc engine, I didn't find a good native integration with Typedocs. However, there might be improvements since then. |
To reimplement API docs in the TS SDK documentation, the following tasks should be completed:
|
For the docs hub, please make sure that the generated API subfolders and file names match the navigation names and structure. |
Closing this as we have now reimplemented TypeDoc for API documentation. Will open further issues for changes and amendments. |
At first, we spoke about eliminating Typedocs completely because the majority of files are not documented, and displaying purely mechanical and hollow documentation only adds noise, burying the rest underneath it.
However, a few places might have relevant docs to show.
These docs could be:
.md
format (typedocs stay out)Either way, we must first understand what packages fall in this category.
Then we can see what to do.
The text was updated successfully, but these errors were encountered: