You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that with use_directory_urls enabled, the original markdown do is the same as the redirect target. This results in the redirect output file being generated on top of the file generated by mkdocs. It appears that the only productive thing the plugin can do in this situation is true raise an error.
This occurs in both v1.0.1 & v1.0.3. This occurs for when the redirect target is README.md or index.md.
I stumbled on this when looking into #23. The key difference is
use_directory_urls
is set totrue
in this case.mkdocs.yml
Note that with
use_directory_urls
enabled, the original markdown do is the same as the redirect target. This results in the redirect output file being generated on top of the file generated bymkdocs
. It appears that the only productive thing the plugin can do in this situation is true raise an error.This occurs in both v1.0.1 & v1.0.3. This occurs for when the redirect target is
README.md
orindex.md
.Commands to reproduce:
site/foo/index.html
The text was updated successfully, but these errors were encountered: