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
You could just handle it with your web server, the same way you handle the /static
directory in Flask. For example if you used Apache as your production web server, you might add
Alias /documentation /location/of/sphinx/html
Order deny,allow
Allow from all
to your Apache site configuration, so then you could just link directly to http://yoursite.com/documentation
to access the Sphinx files, avoiding Flask altogether.