I’ve locally built static Sphinx documentations (using make html).
I wish now to integrate the Sphinx files into my webapp that runs with Flask. From the Flask running application, I simply mean to include an hyperlink towards the Sphinx documentation, that will serve as help for the application.
Websupport seems the way to follow, but it’s not clear to me how I should bridge the Flask framework to the Sphinx files.
Thanks for any help,
Regards
You could just handle it with your web server, the same way you handle the
/staticdirectory in Flask. For example if you used Apache as your production web server, you might addto your Apache site configuration, so then you could just link directly to
http://yoursite.com/documentationto access the Sphinx files, avoiding Flask altogether.