-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Excluding folders from localization #264
Comments
Hi @usulpt ; it's hard to understand what you mean exactly by this. Could you provide a sample docs structure and explain from there? |
Same issue. Later I will make a pull request on this. |
@usulpt hei, I modify some code to support exclude one or more folders from being localized, you can check https://github.com/AIboy996/mkdocs-static-i18n. All files in ignored folder will be redirected to default language page(but not simple redirect, in fact these page will not be built). FYI, if you want to install the modified version, just type: pip install git+https://github.com/AIboy996/mkdocs-static-i18n --force-reinstall then you can ignore some folder in plugins:
- search
- i18n:
docs_structure: suffix
exclude_folders:
- docs/setup hope it helps. And @ultrabug maybe this can be considered to include as a formal config option for mkdocs-static-i18n. |
Since i am not familar with mkdocs-static-i18n source code enough. I am not sure the modification is appropriate.(it will trigger some WARNINGs from |
hello! would it be possible to exclude one or more folders from being localized? api documentation, for example?
thanks and keep up the great work!
The text was updated successfully, but these errors were encountered: