When I created the theme, I was under the impression that the theme conf.py would serve as a baseline that then was automatically extended by the site conf.py.
However, after debugging with @Huongg, I got the feeling that the site conf.py was overriding the theme conf.py.
And finally, after a quick investigation, I realized that normally Sphinx theme don't have their own conf.py.
When I created the theme, I was under the impression that the theme
conf.py
would serve as a baseline that then was automatically extended by the siteconf.py
.However, after debugging with @Huongg, I got the feeling that the site
conf.py
was overriding the themeconf.py
.And finally, after a quick investigation, I realized that normally Sphinx theme don't have their own
conf.py
.See for example:
conf.py
https://github.com/readthedocs/sphinx_rtd_theme/update_config
function connected to thebuilder-inited
hook that readsapp.config.extensions
value https://github.com/pydata/pydata-sphinx-theme/blob/11e041/src/pydata_sphinx_theme/__init__.pyWe'd need to look into this closely.