magidoc
magidoc copied to clipboard
How do i deploy these docs in FastAPI
How do i deploy generated docs in FastAPI. I want themto be served in a route /graphql/documentation whilst i can use any other routed my other projects
I figure you could use static files in FastAPI. Although I have never tried it. It's possible FastAPI doesn't support clean URLs out for the box, in which case you might have to look for another option (plugin or other hosting method).
As for the base URL, you must use the option website.options.siteRoot when building your website.
Let me know if you need more help. If you figure out how to do it for FastAPI, let me know, I'd be happy to add it to the docs.
@aurthurm any news about this ? If not, I'll close for inactivity