-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Describe the bug
Sphinx 5.2.0 broke unyt's docs, see yt-project/unyt#274
Warning, treated as error:
/home/runner/work/unyt/unyt/docs/index.rst:17:Pygments lexer name 'pycon3' is not known
ERROR: InvocationError for command /home/runner/work/unyt/unyt/.tox/py38-docs/bin/python -m sphinx -M html . _build -W (exited with code 2)
How to Reproduce
$ git clone https://github.com/yt-project/unyt
$ cd unyt
$ pip install -r requirements.txt
$ cd docs
$ python -m sphinx -M html "." "_build" -W
with requirements.txt:
pytest
sphinx
numpy
sympy
matplotlib!=3.5.0
dask[array,diagnostics]>=2021.04.1
Expected behavior
no error
Your project
https://github.com/yt-project/unyt
Screenshots
No response
OS
seen on Linux and Mac
Python version
reproduced with 3.8 and 3.10
Sphinx version
5.2.0
Sphinx extensions
sphinx.ext.autodoc, sphinx.ext.viewcode, sphinx.ext.doctest, sphinx.ext.napoleon, sphinx.ext.mathjax
Extra tools
No response
Additional context
Getting no error with Sphinx 5.1.1
Reactions are currently unavailable