Skip to content

incompatibility with mkdocs 1.4.0 #46

@schrursk

Description

@schrursk

Latest version 0.1.14 does not work anymore with mkdocs 1.4.0

Basically links are corrupt.
(WARNING - Documentation file 'yyy/xxx.md' contains a link to 'aaa/..\bbb\ccc.md' which is not found in the documentation files.)

(Remark: Latest version 0.1.14 still work anymore with mkdocs 1.3.1)

Seems following change in mkdocs 1.4.0 is causing the issue:
https://www.mkdocs.org/about/release-notes/#replace-filesrc_path-to-not-deal-with-backslashes-2930

Advised on that page:
Use File.src_uri instead of File.src_path
Use os.path.* instead of posixpath.*

I quickly tested it and it seems to indeed solve the compatibility issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions