This breaks my site when not using the explicit option.
Error:
File "/Users/user_name/Documents/git/mkdocs_sites/site_name/.venv/lib/python3.13/site-packages/playwright/_impl/_connection.py", line 69, in send
return await self._connection.wrap_api_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/Users/user_name/Documents/git/mkdocs_sites/site_name/.venv/lib/python3.13/site-packages/playwright/_impl/_connection.py", line 558, in wrap_api_call
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.TimeoutError: Locator.wait_for: Timeout 60000ms exceeded.
Call log:
- waiting for locator("body[mkdocs-exporter=\"true\"]") to be visible
ERROR - [12:50:27] An error happened during the rebuild. The server will appear stuck until build errors are resolved.
Does not work
plugins:
- search
- exporter:
formats:
pdf:
concurrency: 16
buttons:
- title: Download as PDF
icon: material-file-download-outline
enabled: !!python/name:mkdocs_exporter.formats.pdf.buttons.download.enabled
attributes: !!python/name:mkdocs_exporter.formats.pdf.buttons.download.attributes
Works
plugins:
- search
- exporter:
formats:
pdf:
explicit: true
buttons:
- title: Download as PDF
icon: material-file-download-outline
enabled: !!python/name:mkdocs_exporter.formats.pdf.buttons.download.enabled
attributes: !!python/name:mkdocs_exporter.formats.pdf.buttons.download.attributes
This breaks my site when not using the explicit option.
Error:
Does not work
Works