Builder specific configs #13506
Replies: 3 comments
-
|
@LecrisUT Instead of in A |
Beta Was this translation helpful? Give feedback.
-
|
On the question of builder-specific overrides / config (new thread), I think it's probably reasonable. I'd want to hear opinions from other contributors, though. |
Beta Was this translation helpful? Give feedback.
-
|
Hi! I'm using the Sphinx-Immaterial theme for a documentation that I want to host on ReadTheDocs. The specific issue is, that the theme overwrites admonitions with new functionalities, which is very useful for the web docs, but slightly breaks the latex output. The only way to fix this is to put the following settings in the sphinx_immaterial_override_generic_admonitions = False
sphinx_immaterial_override_builtin_admonitions = False
sphinx_immaterial_override_version_directives = False
sphinx_immaterial_generate_extra_admonitions = FalseHowever, I'd like to only disable these for the latex output, which is currently not possible in any straightforward manner (as far as I know), as the builder format is not available in the (It's not feasible to overwrite them in the I realize this is primarily a theme issue, but I feel this is a good argument for why builder specific option support would be good to have. It would certainly help in circumventing problems like this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
When building a standalone man page, I want to include a
exclude_patternsso that the html files are not calculated. But I do not see a way to attach specific configs to a specific builder.Describe the solution you'd like
Have a way to add builder specific options such as a
builder_optsor expose a variable similar totagsto interogate which builder is being requested.Describe alternatives you've considered
I have tried to include one dynamically via
but this does not work because
app.builderis not available at that point.Beta Was this translation helpful? Give feedback.
All reactions