mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 18:08:31 +07:00
As neither setting can point at a child dir of the other, "/" would be an invalid value for either setting. However, given its unique nature, os.path.abspath does not follow normal bahavior of returning a string without an ending slash when passed "/". Therefore, we need to special case it. Fixes #1161.