Shows how to create a PDF from sphinx docs sphinx-autobuild -b simplepdf -W -E -T --watch hamilton/ -a docs /tmp/mydocs This needs simplepdf I believe and the conf.py changes (I believe).
diff --git a/docs/conf.py b/docs/conf.py index 2ace015..21b207c 100644 --- a/docs/conf.py +++ b/docs/conf.py
@@ -25,12 +25,19 @@ "color-announcement-text": "#091E42", }, } + +rinoh_documents = [ + dict(doc="index", target="manual") # top-level file (index.rst) +] # output file (manual.pdf) + + extensions = [ "sphinx.ext.autodoc", "sphinx.ext.autosummary", "myst_parser", "sphinx_sitemap", "docs.data_adapters_extension", + "sphinx_simplepdf", ] # for the sitemap extension ---