Closed xplosionmind closed 1 year ago
@xplosionmind Hi,
There is no it
folder in your folder structure and it should since it's your configured default language.
The folder
structure is meant to have a convergent tree of files per folder.
Thanks a lot for your reply, @ultrabug!
Can’t I have a folder just for the English content and everything else is in Italian?
This is not how it's supposed to work, no @xplosionmind
The "everything else" is meant for stuff that is not "translated/translatable".
Thank you for clarifying that, @ultrabug.
One last question: is it possible to remove the /lang/
slug in URLs for the default language?
Yes, just don't list it in the languages
config list, just as default_language
Yes, just don't list it in the
languages
config list, just asdefault_language
I fear this works only with the suffix
mode… The it
folder is parsed as a subject if I do not list it in mkdocs.yml
…
Thanks for pointing this out @xplosionmind ; I will look into this as soon as I can.
Ok @xplosionmind so you could have this done by setting build: false
to it
and after #156 is merged and released.
I'd like to still remind you that the folder structure is supposed to be strict in how you structure your folders layout and you should do your best to stick with it. This plugin can't adapt to every layout users may think of I'm sure you understand that.
Once tests pass, I'll merge the #156 PR so that at least the build process do not crash hard on users but report a warning that unpredictable site will be generated.
I am getting the following log when building https://github.com/scambifestival/manuale (
i18n
branch)