An example Django project demonstrating a potential configuration and structure for django-sphinx-view.
- Install Poetry for dependency management.
- Run
poetry shell && poetry install
to install the dependencies.
- Save reStructuredText (reST) files containing the documentation content to the
docs/source/
directory. - From the
docs/
directory, run themake json
command to build the documentation to be served from thedocs/build
directory.
Run ./manage.py runserver
and navigate to http://localhost:8000/docs/ in your browser.