You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the sphinx-build with the -b json argument results in an exception. If I take away the json argument, it compiles fine.
As shown below, the exception is coming out of sphinx internally.
Running Sphinx v7.1.2
building [mo]: targets for 0 po files that are out of date
writing output...
building [json]: targets for 42 source files that are out of date
updating environment: [new config] 42 added, 0 changed, 0 removed
reading sources... [100%] rules/python/third_party/index
looking for now-outdated files... none found
pickling environment... done
/Users/ericwb/workspace/precli/docs/source/man/precli.rst: WARNING: document isn't included in any toctree
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
writing output... [100%] rules/python/third_party/index
generating indices... genindex py-modindex done
highlighting module code...
writing additional pages... search done
Exception occurred:
File "/Users/ericwb/workspace/precli/.tox/docs/lib/python3.11/site-packages/sphinxcontrib/serializinghtml/__init__.py", line 105, in handle_finish
outfilename = self.outdir / self.globalcontext_filename
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for /: 'str' and 'str'
The full traceback has been saved in /var/folders/m3/_cy_9dfx73107r3w_zhnsd700000gn/T/sphinx-err-corq7276.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
docs: exit 2 (1.27 seconds) /Users/ericwb/workspace/precli> sphinx-build -b json docs/source docs/build pid=86055
.pkg: _exit> python /Users/ericwb/.pyenv/versions/3.11.4/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
docs: FAIL code 2 (10.15=setup[8.87]+cmd[1.27] seconds)
evaluation failed :( (10.21 seconds)
Describe the bug
Running the sphinx-build with the
-b json
argument results in an exception. If I take away the json argument, it compiles fine.As shown below, the exception is coming out of sphinx internally.
How to Reproduce
sphinx-build -b json docs/source docs/build
Environment Information
Sphinx extensions
Additional context
No response
The text was updated successfully, but these errors were encountered: