Note: This is without Docker, without anything fancy, just cobbling something together.
- You have a
requirements.txtin yourdocs/directory (separating your docs requirements from your app or project requirements) - You are using Sphinx and sphinx-autobuild
# requirements.in
sphinx
sphinx-autobuild
- Install your requirements
- Run
sphinx-build -b html docs docs/_build/htmlto build your docs into html. Thedocspoints to the directory I want Sphinx to build from, in this case thedocs/directory._build/htmlis the name of the directory that I want the HTML files that are generated to be put into. - Run the server at
sphinx-autobuild docs docs/_build/html --host "localhost" - Go to
localhost:8000to see your project docs.