When running this extension under sphinx 8.2.3, the extension crashes with the following error (here it was executed on the siemens/kas project):
Versions
========
* Platform: linux; (Linux-6.12.30-amd64-x86_64-with-glibc2.41)
* Python version: 3.13.4 (CPython)
* Sphinx version: 8.2.3
* Docutils version: 0.21.2
* Jinja2 version: 3.1.6
* Pygments version: 2.19.1
Last Messages
=============
checking consistency...
done
preparing documents...
done
copying assets...
copying assets: done
writing output... [ 8%]
command-line
Loaded Extensions
=================
* sphinx.ext.mathjax (8.2.3)
* alabaster (1.0.0)
* sphinxcontrib.applehelp (2.0.0)
* sphinxcontrib.devhelp (2.0.0)
* sphinxcontrib.htmlhelp (2.1.0)
* sphinxcontrib.serializinghtml (2.0.0)
* sphinxcontrib.qthelp (2.0.0)
* sphinx.ext.autodoc.preserve_defaults (8.2.3)
* sphinx.ext.autodoc.type_comment (8.2.3)
* sphinx.ext.autodoc.typehints (8.2.3)
* sphinx.ext.autodoc (8.2.3)
* sphinx.ext.coverage (8.2.3)
* sphinx.ext.viewcode (8.2.3)
* sphinxarg.ext (0.5.2)
* sphinxcontrib.jquery (4.1)
* sphinx_rtd_theme (unknown version)
* sphinx_kas_schema (1.0)
* sphinxcontrib.spelling (8.0.2.dev9+g322ad6e)
Traceback
=========
Traceback (most recent call last):
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinx/cmd/build.py", line 432, in build_main
app.build(args.force_all, args.filenames)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinx/application.py", line 426, in build
self.builder.build_update()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 372, in build_update
self.build(['__all__'], summary=to_build, method='update')
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 454, in build
self.write(docnames, updated_docnames, method)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 735, in write
self.write_documents(docnames)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 749, in write_documents
self._write_serial(sorted_docnames)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinx/builders/__init__.py", line 768, in _write_serial
self.write_doc(docname, doctree)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinxcontrib/spelling/builder.py", line 186, in write_doc
lines = list(self._find_misspellings(docname, doctree))
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinxcontrib/spelling/builder.py", line 230, in _find_misspellings
source = osutil.relpath(source)
File "/home/user/.venvs/kas/lib/python3.13/site-packages/sphinx/util/osutil.py", line 168, in relpath
return os.path.relpath(path, start)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "<frozen posixpath>", line 505, in relpath
TypeError: expected str, bytes or os.PathLike object, not NoneType
When running this extension under sphinx 8.2.3, the extension crashes with the following error (here it was executed on the siemens/kas project):