Python-Markdown / markdown

A Python implementation of John Gruber’s Markdown with Extension support.
https://python-markdown.github.io/
BSD 3-Clause "New" or "Revised" License
3.74k stars 858 forks source link

Properly resolve relative paths in scripts/gen_ref_nav.py #1396

Closed waylan closed 10 months ago

waylan commented 10 months ago

This works fine when building documentation from the root dir.

It also works from another dir (using mkdocs' -f option) if plugins.handlers.python.extensions is removed from config (or the listed paths are otherwise adjusted to be relative to the cwd). But that is a separate issue.