Hacker News new | ask | show | jobs
by slorber 1865 days ago
I don't understand what you mean sorry
1 comments

Is there a way to keep Docusarus running like a live service and make an API request to it to generate documentation pages?

Or is it strictly an offline cli tool?

not sure to understand, any concrete use-case to share?

Docusaurus is a SSG, does not need a server in production and it's not a goal. If something happens live, then it can only happen on your dev computer

The use case is we automatically generate documentation on the fly, so I'd want to be able to then also automatically update their documentation site with our new docs we've generated.

From what you're saying it sounds like the best route for us to support Docusaurus sites is to generate the markdown files and let them update their site themselves, which is fine I just wanted to make sure I wasn't missing anything myself.