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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

## Unreleased: pdoc next

- Fix image embedding in included rST files.
([#692](https://github.com/mitmproxy/pdoc/pull/692), @meghprkh)
- Support type-hints from stub-only packages. E.g: `scipy-stubs`
([#671](https://github.com/mitmproxy/pdoc/pull/671), @erikdesmedt)
- Modify css styles for MathJax to remove unnessesary scroll bars
Expand Down
1 change: 1 addition & 0 deletions pdoc/docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ def _rst_admonition(m: re.Match[str]) -> str:
warnings.warn(f"Cannot include {val!r}: {e}")
included = "\n"
included = _rst_admonitions(included, loc.parent / val)
included = embed_images(included, loc.parent / val)
return indent(included, ind)
if type == "math":
return f"{ind}$${val}{contents}$$\n"
Expand Down
2 changes: 2 additions & 0 deletions test/testdata/flavors_rst.html
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,8 @@ <h6 id="this-warning-has-a-title-only">This warning has a title only.</h6>

<p>Hello</p>

<p><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAA3PElEQVR42u2deXgUVdbGf7c6CQm7u7grKgo6oFEx6YCgiALpRFwYXMbB3XEcRR3HBYUCx5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mG52DEsrQq61hcwM9UOyTbxGYo/hUqZ3l7ux1kVeFYVcKXAFGLLXeIhDHyIWYz9lQjfaZq5wmiYpL+zMmVn9kJxMEIfUpevnmUY3FJb3rIHoUtYLnY4jJhFp/UGTyjhbIeGXKsUt6/dxAPZzqvKorW1l9K4IRJP6rydTqMRqDAM/rK9icolLBdtC4LyVnMTwm2kqYQr8CmKB1SYaaE0pYDbGoqns7vK5RrgihQsrkzxPwXTgMeDPr5qS/fDJSwXbQpFfg7TFJcinI8NNVEF3xjCLNGYXruEV7aHblRrIBLv8wmMjQTGOzl8iG8VVBnCCzXLmNdW76NLWC7aJPpVkNcjn/5KUQgcgSIfobvAFuAzBSs0g+V2VTk7EiKreqUKhiB4MZttpBqT+gphCRoLNGH+glLeSkU6xyUsFy5cpG99GfQVxf6aYh8RdheTwHbSFOsEDBTfI6wS+GprPh8sPTmuWKALFy5cuHAC/w/AqUCM6vGOhgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wNi0wMlQxNTowNzozNiswMDowMLcT+scAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDYtMDJUMTU6MDc6MzYrMDA6MDDGTkJ7AAAAAElFTkSuQmCC" alt="pdoc logo" /></p>

<p>World!</p>

<p>\( 42 \)</p>
Expand Down
2 changes: 2 additions & 0 deletions test/testdata/flavors_rst_include/include.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Hello

![pdoc logo](../../../docs/logo.png)

.. include:: subinclude.rst