As soon as I add a site_url to the mkdocs.yml file of a project, the website gets stuck with:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/mkdocs/livereload/__init__.py", line 193, in _build_loop
func()
File "/usr/local/lib/python3.11/site-packages/mkdocs/commands/serve.py", line 67, in builder
build(config, live
_server=None if is_clean else server, dirty=is_dirty)
File "/usr/local/lib/python3.11/site-packages/mkdocs/commands/build.py", line 354, in build
config.plugins.on_post_build(config=config)
File "/usr/local/lib/python3.11/site-packages/mkdocs/plugins.py", line 542, in on_post_build
return self.run_event('post_build', config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/mkdocs/plugins.py", line 509, in run_event
result = method(**kwargs)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/material/plugins/projects/plugin.py", line 265, in on_post_build
path = self._path_from_slug(slug, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/material/plugins/projects/plugin.py", line 587, in _path_from_slug
at = len(posixpath.commonpath([base.path, dest.path]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen posixpath>", line 547, in commonpath
ValueError: Can't mix absolute and relative paths
ERROR - [21:40:05] An error happened during the rebuild. The server will appear stuck until build errors are resolved.
Context
No response
Bug description
As soon as I add a site_url to the mkdocs.yml file of a project, the website gets stuck with:
Related links
site_url
Reproduction
upload.zip
Steps to reproduce
Browser
No response
Before submitting