Replies: 2 comments
-
I can only hazard a guess as to why MkDocs requires the alternative syntax: to be able to merge the two configurations more easily, being able to look up by name instead of iterating through a list. Purely from a YAML point of view, you can use either a list or key/value pairs, not both. Think of |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you very much. Then, I will only use what I need for plugins and extensions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am using configuration inheritance in my mini-project. According to the documentation (https://www.mkdocs.org/user-guide/configuration/#configuration-inheritance ), it says that the markdown_extensions and plugins parameters should use an alternative syntax that does not use list items (lines starting with -). However, this syntax is still being used in some places, such as in themes and in the watch command. As a result, I was confused about how to use the new syntax. Should I use it only in the specified parameters, or should I use it for all of them?
features:
- navigation.indexes
- navigation.instant
- toc.follow
- search.highlight
- content.action.edit
- content.action.view
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions