Skip to content

Error using !relative for base_path with 10.4 #2236

Answered by oprypin
Andre601 asked this question in Q&A
Discussion options

You must be logged in to vote

So this is just something that I need to fix in MkDocs.

MkDocs' validation couldn't handle the fact that the extension tries to immediately resolve the path inside __init__.

If we want to be super pragmatic about it and get the fix to users sooner, pymdownx could also make a change to avoid running into this bug.
131aac0
-actually this particular abspath call doesn't even have to be moved anywhere else because there's already such a call in the one place where it matters.

Though of course this would make a difference if some other code changes the current working directory somewhere in the middle. So maybe not safe to remove that abspath after all 😕

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@facelessuser
Comment options

Answer selected by facelessuser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants