Replies: 1 comment
-
Thanks for asking. Short answer: no. First of all, configuration inheritance is implemented by MkDocs (using the If you use We'll be evaluating how to share configuration as part of the projects plugin that we're currently developing. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This comment (admittedly an older one), seems to indicate that MkDocs configuration inheritance can be used for theme features. But I'm having a problem with the 'alternative syntax' that inheritance requires.
Specifically, when I change the syntax of all the
config.theme.features
from list to key:value pairs (e.g., change- announce.dismiss
toannounce.dismiss: {}
etc.), a bunch of the features stop working at all. For example,content.code.copy
,content.code.select
,navigation.tracking
, andnavigation.top
are among those that stop working, butnavigation.tabs
,navigation.tabs.sticky
,navigation.footer
,navigation.path
,navigation.sections
, all still work.Mysteriously (to me), the left-hand nav draws on top of the footer and no longer has a scroll wheel, and while the search field is still present in the header, nothing happens when I type text in it.
I feel like I'm missing something here. Or are the
config.theme.features
required to be in list syntax and therefore cannot work with config inheritance?Thanks in advance for any help.
Beta Was this translation helpful? Give feedback.
All reactions