pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/executablebooks/MyST-Parser/pull/1114

🐛 FIX: Use docname instead of source path in warning locations by Bizordec · Pull Request #1114 · executablebooks/MyST-Parser · GitHub
Skip to content

🐛 FIX: Use docname instead of source path in warning locations#1114

Merged
chrisjsewell merged 2 commits into
executablebooks:masterfrom
Bizordec:hotfix/warnings-location
May 7, 2026
Merged

🐛 FIX: Use docname instead of source path in warning locations#1114
chrisjsewell merged 2 commits into
executablebooks:masterfrom
Bizordec:hotfix/warnings-location

Conversation

@Bizordec
Copy link
Copy Markdown
Contributor

Changed warning location generation to use document.settings.env.docname instead of document["source"]. This ensures warning locations display clean file names (e.g., index.md) rather than full paths with potential .rst suffixes (e.g., index.md.rst).

Changed warning location generation to use `document.settings.env.docname`
instead of `document["source"]`. This ensures warning locations display
clean file names (e.g., `index.md`) rather than full paths with potential
`.rst` suffixes (e.g., `index.md.rst`).
Copy link
Copy Markdown
Member

@chrisjsewell chrisjsewell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good thanks!

@chrisjsewell chrisjsewell merged commit 8381296 into executablebooks:master May 7, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy