backstage / mkdocs-monorepo-plugin

✚ Build multiple documentation folders in a single Mkdocs. Designed for large codebases.
https://backstage.github.io/mkdocs-monorepo-plugin/
Apache License 2.0
316 stars 74 forks source link

Fix `endsWith` path check on Windows #9

Closed captainsafia closed 4 years ago

captainsafia commented 4 years ago

The endsWith check with the backslash causes mkdocs serve/build to fail when run on Windows. This commit removes this and just checks to see if the filename is correct.

bih commented 4 years ago

Great catch @captainsafia. Thanks for your contribution! :)