Closed Mara-Li closed 2 years ago
Bonjour @Mara-Li
Do you have a public repo I can try this on to reproduce the problem please?
Yeap! You can use this : https://github.com/obsidianMkdocs/obsidian_mkdocs_publisher_docs
The bug occure when running the deepcopy
. If I edit the plugin and remove the deepcopy, everything works fine!
@Mara-Li just to be sure, you're using latest version of the i18n plugin right?
Because if I remove all you other plugins (quite a few of them can't be installed via pip), I don't reproduce your problem :/
Yup, i use the last update. I tryed everything without the plugin, and checked it was caused by deepcopy
here : https://github.com/ultrabug/mkdocs-static-i18n/blob/09155f6c42dfc4e12b4375b62726baccc7cd162b/mkdocs_static_i18n/plugin.py#L225
I removed the deepcopy and i get the build without error ...
@Mara-Li then some other plugin must be messing with the config somehow. The i18n plugin can't cope with what all the other available plugins out there do.
But it does need to get its own config deepcopy for each language AFAIK.
So unless you can isolate which plugin in your long list of plugins is messing up with i18n there's little I can do I guess.
I will redo my test to check if any plugins interefer with i18n
Okay, I can't repro the error now. Maybe upgrading my plugins was the key. Thank for your work!
:+1:
Hello! I try to get work with the plugins, but I always get
keyError: plugins
when I runmkdocs serve
My config :
Removing
i18n
work as expected, so I don't understand :-(My docs structure is like the same in the docs...
My plugins used :