I ran an "update" (uv pip install --upgrade mkdocs-materialx) and it updated - pymdown-extensions==12.0.1 to + pymdown-extensions==12.1 and on restarting the server, got few hundred of these:
ERROR - unexpected error: SuperFencesCodeExtension.extend_super_fences() missing 1 required positional argument: 'reset'
To fix it I just reverted the change back to "12.0.1"
Clarification on the root cause:
The mkdocs-markmap plugin isn't bundled directly into this (MaterialX) theme's core repository.
The error occurs for users who have installed mkdocs-markmap in their local setups alongside mkdocs-materialx. The mkdocs-markmap extension hooks into pymdownx.superfences, which breaks globally on every page when pymdown-extensions automatically updates to v12.1+ due to a required 4th positional argument (reset) missing from the plugin's code.
Leaving this note here for anyone else using this (MaterialX) theme boilerplate who hits the same server crash—pinning pymdown-extensions==12.0.1 locally safely bypasses the issue until the markmap plugin gets an update.
I ran an "update" (uv pip install --upgrade mkdocs-materialx) and it updated - pymdown-extensions==12.0.1 to + pymdown-extensions==12.1 and on restarting the server, got few hundred of these:
ERROR - unexpected error: SuperFencesCodeExtension.extend_super_fences() missing 1 required positional argument: 'reset'To fix it I just reverted the change back to "12.0.1"
Clarification on the root cause:
The
mkdocs-markmapplugin isn't bundled directly into this (MaterialX) theme's core repository.The error occurs for users who have installed
mkdocs-markmapin their local setups alongsidemkdocs-materialx. Themkdocs-markmapextension hooks intopymdownx.superfences, which breaks globally on every page whenpymdown-extensionsautomatically updates to v12.1+ due to a required 4th positional argument (reset) missing from the plugin's code.Leaving this note here for anyone else using this (MaterialX) theme boilerplate who hits the same server crash—pinning
pymdown-extensions==12.0.1locally safely bypasses the issue until the markmap plugin gets an update.