Closed f-fuchs closed 6 months ago
Okay the solution is adding templates_path = ['_templates'] to conf.py as described in this issue https://github.com/readthedocs/sphinx-autoapi/issues/198#issuecomment-620745004. Maybe this can be added to the offical documentation https://sphinx-autoapi.readthedocs.io/en/latest/how_to.html#how-to-customise-layout-through-templates aswell.
Hey,
I wanted to modify the module.rst so that autosummary directive uses the :nosignature: option, but when I just copy the module.rst from github or from my local environment the sphinx build command already throws errors.
I checked the encoding and both files are saved as UTF-8 and when I downloaded from github I used this link https://github.com/readthedocs/sphinx-autoapi/blob/main/autoapi/templates/python/module.rst?plain=1 and used the
download as raw
option.