-
Updated to
I doubt this is a configuration error on my end. All I did is change Here's the markdown_extensions:
- attr_list
- toc:
permalink: true
- meta
- pymdownx.superfences
- pymdownx.magiclink:
repo_url_shortener: true
repo_url_shorthand: true
social_url_shorthand: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight
- pymdownx.snippets:
base_path: !relative
- pymdownx.blocks.admonition:
types:
- note
- abstract
- info
- tip
- success
- question
- warning
- failure
- danger
- bug
- example
- quote
- pymdownx.blocks.details:
- pymdownx.blocks.tab:
alternate_style: true |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 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. 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 |
Beta Was this translation helpful? Give feedback.
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 😕