Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call embed_images when including a file #692

Merged
merged 7 commits into from
May 16, 2024
Merged

Call embed_images when including a file #692

merged 7 commits into from
May 16, 2024

Conversation

meghprkh
Copy link
Contributor

@meghprkh meghprkh commented May 16, 2024

Fixes issues where the image was not linked correctly. Fixes #691.

Fixes issues where the image was not linked correctly
@mhils
Copy link
Member

mhils commented May 16, 2024

Awesome, thanks. Could you include a small (SVG) test image in https://github.com/mitmproxy/pdoc/tree/main/test/testdata/flavors_rst_include to make sure we don't regress? :)

@meghprkh
Copy link
Contributor Author

Added, not sure how it will be tested since pdoc does not throw an exception or warn when an image is not found

@mhils
Copy link
Member

mhils commented May 16, 2024

Thanks! We have snapshot tests in place that cover this. :)

@mhils mhils enabled auto-merge (squash) May 16, 2024 00:45
@mhils mhils merged commit 79be31c into mitmproxy:main May 16, 2024
11 checks passed
@meghprkh meghprkh deleted the embed-images branch May 16, 2024 01:16
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.

Including markdown is buggy and local images do not work
2 participants