Building documentation locally
Prerequisites
pip install -e "..[docs]"
HTML build
From the repository root (recommended — matches CI):
pip install -e ".[docs]"
make docs
open docs/_build/html/index.html
Or from this directory:
pip install -e "..[docs]"
make html
open _build/html/index.html
Builds run with warnings as errors (SPHINXOPTS=-W in docs/Makefile). A clean log should show no WARNING: lines from Sphinx; use make docs from the repo root (not bare sphinx-build) so PYTHONWARNINGS filters third-party import noise from intersphinx.
Read the Docs
Config:
.readthedocs.yamlImport repo:
https://github.com/eddiethedean/sparqlmodelDefault version: latest (tracks
main)fail_on_warning: true— must match localmake html
Site structure
Section |
Sources |
|---|---|
Get started |
|
Guides |
|
Reference |
|
Project |
|