Closed mitya57 closed 1 year ago
This attribute is now required by searchtools.js: https://github.com/sphinx-doc/sphinx/blob/v7.2.2/sphinx/themes/basic/static/searchtools.js#L65
And this is what Sphinx' own layout.html does: https://github.com/sphinx-doc/sphinx/blob/v7.2.2/sphinx/themes/basic/layout.html#L105
layout.html
When the attribute is not set, loading search results via AJAX will be broken because the JS code will attempt to load paths like /undefinedfoo.html.
/undefinedfoo.html
This attribute is now required by searchtools.js: https://github.com/sphinx-doc/sphinx/blob/v7.2.2/sphinx/themes/basic/static/searchtools.js#L65
And this is what Sphinx' own
layout.html
does: https://github.com/sphinx-doc/sphinx/blob/v7.2.2/sphinx/themes/basic/layout.html#L105When the attribute is not set, loading search results via AJAX will be broken because the JS code will attempt to load paths like
/undefinedfoo.html
.