Variable html_theme_options:logo
incompatible with Sphinx _static
Logic
#1385
Labels
html_theme_options:logo
incompatible with Sphinx _static
Logic
#1385
(This issue addresses what seems to be a separate problem from the related discussion here: #1328 (comment))
Irregardless of the path I use for the
logo: image_light
theme variable:the builder always ends up looking for the file at:
This file, however, won't ever exist - since Sphinx (as per the documentation) copies the subdirectories of the _static directory:
The way the theme is presently set up won't allow for sub-directories of the
_static
directory. since the theme variable seems to be incompatible with the logic that Sphinx uses to copy subdirectories of the_static
directory to_build
.If I understand the comments of @12rambau correctly, the expected (and Sphinx-compatible) behaviour would be that the path passed to the
logo: image_light
variable should be relative to the_build/html/_static
directory.For convenient testing, I added a MWE to this repo: michaelweinold/mwe_sphinx
The text was updated successfully, but these errors were encountered: