-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Compatibility with autolinks
plugin
#20
Comments
I'm not sure messing with the markdown sources is the job of this plugin tbh. The proper way to handle this is that |
Hrm but what when they don't exist yet? Or did you suggest that I file that as a request over there? |
As far as I understand this, autolinks is not the one spouting those WARNING messages. You're seeing this because when Let's take an example:
In the markdown of the So on the Which means that you should update the markdown of Does that make sense? |
oh it does, thank you! Guess I was kinda expecting some magic happening there that is doing it for me, but I can just change it! |
I guess the other part is these
any idea what triggers those? |
I guess it's the same problem @Stanzilla ?
|
So I guess the problem is that not all pages have a .fr counterpart yet? |
No, it seems you still have fr pages pointing to non fr pages while those pages do exist. What's your newest test branch? |
It's in dev now, https://github.com/ManticoreGamesInc/platform-documentation/tree/development but disabled (check config) |
@Stanzilla the WARNING you experience are there because you have some non translated pages pointing to files that do have a translation... For example :
when the does it make sense? |
hrm yeah it does, that means everything should still work then because the "fallback" files that are not translated do exist, yes? |
No, they do not exist in the language specific context so that means that whenever a page is translated, anything linking to it should be too |
@Stanzilla do you still want this issue open mate, can I be of help here still? thanks |
I think it's fine to close it! Thank you so much for your help! |
Thanks for your positive comments and help in improving the plugin mate |
Plugin: https://github.com/midnightprioriem/mkdocs-autolinks-plugin
I'm testing with version 0.3.0 because the latest release is buggy for me.
So during build it will throw a duplicate file warning for every file that contains a link to a file that now has a multi language version. In my repo for example
The text was updated successfully, but these errors were encountered: