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

🐛 FIX: Image layout function #1135

Merged
merged 3 commits into from
Feb 28, 2024
Merged

🐛 FIX: Image layout function #1135

merged 3 commits into from
Feb 28, 2024

Conversation

danwos
Copy link
Member

@danwos danwos commented Feb 28, 2024

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.

@danwos danwos changed the title Image layout function fix + Linter fixes Image layout function fix Feb 28, 2024
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.
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.92%. Comparing base (ebb8f21) to head (bf91065).

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     
Flag Coverage Δ
pytests 85.92% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danwos danwos requested a review from chrisjsewell February 28, 2024 09:35
@@ -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".
Copy link
Member

Choose a reason for hiding this comment

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

Oh thats weird 🤔

Copy link
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.

Great thanks 👌

@chrisjsewell chrisjsewell changed the title Image layout function fix 🐛 FIX: Image layout function Feb 28, 2024
@danwos danwos merged commit 2c4541b into master Feb 28, 2024
18 checks passed
@danwos danwos deleted the fix_image_layout branch February 28, 2024 16:08
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