Closed jankounchained closed 4 months ago
Update:
reinstalled mkdocstrings with an extra:
pip install -U "mkdocstrings[python]"
Now attempt 1 (commenting out L45) runs
custom_templates: templates - content.code.select
Looks like a wrongly resolved merge conflict. The - content.code.select
part should be in the theme.features
list :slightly_smiling_face: And you can indeed remove the custom_templates
key and value: there isn't any templates
folder in the sources anyway.
Thanks @pawamoy The line is out :)
problem
can't build or serve documentation.
resolving
This is caused by the following lines in mkdocs config: https://github.com/x-tabdeveloping/turftopic/blob/main/mkdocs.yml#L34-L45
attempt 1
mkdocstrings tries to find a directory that doesn't exist. Tried to comment out L45:
custom_templates: templates - content.code.select
Error message got longer:attempt 2
comment out the whole block mkdocs serve works, but docstrings are no longer parsed.