ultrabug / mkdocs-static-i18n

MkDocs i18n plugin using static translation markdown files
https://ultrabug.github.io/mkdocs-static-i18n/
MIT License
238 stars 38 forks source link

Is it possible to get mkdocs-material social cards to work with mkdocs-static-i18n? #228

Closed alexjlockwood closed 1 year ago

alexjlockwood commented 1 year ago

When I try to use mkdocs-static-i18n with mkdocs-material social card feature, I'd like social cards to be generated for each specific translated page.

However, when I try to do this, it seems like the social cards are only generated for a single translated language. (i.e. Instead of generating 2 social card PNG images, it will first generate the English/default language social card, then it will generate another social card for a different language which overwrites the default language social card, etc.).

I'm wondering if there is any reason why social cards would be overwritten in this way. According to the mkdocs-material author, there's no reason on their end as to why there wouldn't be one social card generated per-markdown-file, so I'm having trouble understanding where the issue lies here.

I posted a related discussion topic here on mkdocs-material: https://github.com/squidfunk/mkdocs-material/discussions/5592

ultrabug commented 1 year ago

I'm happy to announce release v1.0.0 of the mkdocs-static-i18n plugin!

Please check it out and reopen if you still encounter the issue.