Building a custom theme on top of material? #6994
-
Hello, First and foremost, thank you for this extensive effort. Material is truly a fantastic tool! I'm reaching out for guidance in a particular context. To provide some background, I am a state worker teacher in France, and along with some colleagues, we have developed a website by heavily customizing mkdocs and mkdocs-material. The entire project is under a non-commercial license (note: the associated repository is not public, for now). So, first things first: is this acceptable to you? I believe the license is compatible (note: as you can see, the reference to Material is still in the footer, and it will remain there by default). Assuming it is acceptable, here's what led me to you: Thank you in advance. Kind regards, EDIT: I just saw |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello @FredZinelli, Never really tried it but it should work, just remember that your theme dependencies need to install the material theme as well, as it won't be fetched based on this setting alone. |
Beta Was this translation helpful? Give feedback.
-
Hello, Quick feedback: I'm currently using
All this seems very weird. Especially, I don't really get how material plugins are seen in mkdocs with their current entry points when using material itself, and not anymore when extending the material theme... Kind regards, |
Beta Was this translation helpful? Give feedback.
Hello @FredZinelli,
the
extends
setting should be what you're looking for as it's documented here and has the description you're looking forhttps://www.mkdocs.org/dev-guide/themes/#theme-configuration
Never really tried it but it should work, just remember that your theme dependencies need to install the material theme as well, as it won't be fetched based on this setting alone.