-
Notifications
You must be signed in to change notification settings - Fork 72
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
🐛 FIX: Image layout function #1135
Conversation
e2a1120
to
8869ed5
Compare
Removes the relative path calculation from the "image" function in layout.py,as it was broken. Now all set url-paths must be relative to the documentation root.
27539a1
to
0a29976
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1135 +/- ##
==========================================
- Coverage 85.94% 85.92% -0.03%
==========================================
Files 56 56
Lines 6539 6536 -3
==========================================
- Hits 5620 5616 -4
- Misses 919 920 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -283,6 +284,16 @@ def test_app(make_app, sphinx_test_tempdir, request): | |||
docutilsconf=builder_params.get("docutilsconf"), | |||
parallel=builder_params.get("parallel", 0), | |||
) | |||
# Add the Sphinx warning as list to the app | |||
# Somehow "app._warning" seems to be just a boolean, if the builder is "latex" or "singlehtml". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh thats weird 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great thanks 👌
Removes the relative path calculation from the "image" function in layout.py,as it was broken.
Now all set url-paths must be relative to the documentation root.