Trouble creating pdf from sphinx documentation
Description of error
I've been trying to build a pdf of the sphinx documentation (partly to see if ingesting the pdf would help with LLM code generation).
Installation logs
I've just tried running in the docs directory:
make latexpdf
It seems to progress pretty far, but then it seems to break on some weird line (see pastebin below):
underlined = [cell.row + cell.height == self.table.row + 1 # type: ignore[union-attr]
AttributeError: 'NoneType' object has no attribute 'row'
Terminal output
https://pastebin.com/Btw9aAgL
System specifications
System Details
- OS: Debian GNU/Linux 11 (in WSL2)
- RAM: 8GB
- Python version (
python/py/python3 --version): Python 3.9.2 - Installed modules (provide output from
pip list): Package Version
alabaster 0.7.16 av 13.1.0 babel 2.16.0 beautifulsoup4 4.12.3 certifi 2025.1.31 charset-normalizer 3.4.1 click 8.1.8 cloup 3.0.5 decorator 5.1.1 docutils 0.21.2 exceptiongroup 1.2.2 furo 2024.8.6 glcontext 3.0.0 idna 3.10 imagesize 1.4.1 importlib_metadata 8.6.1 iniconfig 2.0.0 isosurfaces 0.1.2 Jinja2 3.1.5 manim 0.19.0 ManimPango 0.6.0 mapbox_earcut 1.0.3 markdown-it-py 3.0.0 MarkupSafe 3.0.2 mdit-py-plugins 0.4.2 mdurl 0.1.2 moderngl 5.12.0 moderngl-window 3.1.1 myst-parser 3.0.1 networkx 3.2.1 numpy 2.0.2 packaging 24.2 pillow 11.1.0 pip 25.0 pkg_resources 0.0.0 pluggy 1.5.0 pycairo 1.27.0 pydub 0.25.1 pyglet 2.1.2 PyGLM 2.7.3 Pygments 2.19.1 pytest 8.3.4 PyYAML 6.0.2 requests 2.32.3 rich 13.9.4 scipy 1.13.1 screeninfo 0.8.1 setuptools 75.8.0 skia-pathops 0.8.0.post2 snowballstemmer 2.2.0 soupsieve 2.6 Sphinx 7.4.7 sphinx-basic-ng 1.0.0b2 sphinx-copybutton 0.5.2 sphinx_design 0.6.1 sphinx_reredirects 0.1.5 sphinxcontrib-applehelp 2.0.0 sphinxcontrib-devhelp 2.0.0 sphinxcontrib-htmlhelp 2.1.0 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-programoutput 0.18 sphinxcontrib-qthelp 2.0.0 sphinxcontrib-serializinghtml 2.0.0 sphinxext-opengraph 0.9.1 srt 3.5.3 svgelements 1.9.6 tomli 2.2.1 tqdm 4.67.1 typing_extensions 4.12.2 urllib3 2.3.0 watchdog 6.0.0 wheel 0.45.1 zipp 3.21.0
PASTE HERE
Additional comments
If there's an alternative way to generate the docs to a pdf, I'd be interested.
Same