Replies: 2 comments
-
currently not possible, but any ideas how this can be done are welcome |
Beta Was this translation helpful? Give feedback.
-
I'm not fully sure what the exact question is here. I'll assume that the OP wants to generate documentation from docblocks. Here's how we handle this in 2 different cases: Here's the website (see header links You can find the source code here: https://github.com/blib-la/captain We have an app that consumes our sdk which is a separate monorepo. We wanted to display both API documentations so we did this:
You can find the npm scripts in our package.json: https://github.com/blib-la/captain/blob/d527d0ea434f6ea911b48f86fadac29a741c96ba/package.json#L18-L31 I hope this is on topic and helps. Note Please respect, that our repository is published under AGPL 3.0, so unless you also publish AGPL 3.0, please DO NOT JUST COPY IT. You are obviously free to take inspiration, and if you need any help, we're always here to support ❤️ |
Beta Was this translation helpful? Give feedback.
-
Is it possible to generate docs based on special comments in the codebase like:
I think this + MDX functionality (that already exists) would cover all the bases.
Beta Was this translation helpful? Give feedback.
All reactions