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

DOCS: Revert changes to use webp #4716

Merged
merged 6 commits into from
May 23, 2024
Merged

DOCS: Revert changes to use webp #4716

merged 6 commits into from
May 23, 2024

Conversation

SMoraisAnsys
Copy link
Collaborator

@SMoraisAnsys SMoraisAnsys commented May 23, 2024

Test fixing documentation issue associated to #4655. Unfortunately WEBP image files can only be used to build HTML files and not the PDF file.

Indeed, WEBP image files are not working with latex (see jgm/pandoc#5267 (comment)) and to keep using them, we would have to use a converter. While it could be a valid solution I think that it would add to much things to handle (like a dedicated sphinx event hook) to look for WEBP extension and convert the associated files into JPEG + modifying the doc to not use WEBP file but JPEG...

This PR partially revert changes of #4655 to use previous JPEG / PNG files. It still keep the removed files that were part of the repo but not used in the documentation any more.

@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@codecov-commenter
Copy link

codecov-commenter commented May 23, 2024

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 80.38%. Comparing base (f174240) to head (1234e73).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4716      +/-   ##
==========================================
- Coverage   80.38%   80.38%   -0.01%     
==========================================
  Files         122      122              
  Lines       55089    55095       +6     
==========================================
+ Hits        44285    44286       +1     
- Misses      10804    10809       +5     

@SMoraisAnsys SMoraisAnsys changed the title DOCS: Use sphinx img converter extension DOCS: Revert changes to use webp May 23, 2024
@SMoraisAnsys SMoraisAnsys marked this pull request as ready for review May 23, 2024 14:36
Copy link
Member

@Samuelopez-ansys Samuelopez-ansys left a comment

Choose a reason for hiding this comment

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

Thank you!

@Samuelopez-ansys Samuelopez-ansys merged commit a17f1b2 into main May 23, 2024
33 checks passed
@Samuelopez-ansys Samuelopez-ansys deleted the doc/fix-pdf-issue branch May 23, 2024 17:22
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.

3 participants