Skip to content

Test doc build time on CI without sphinx-gallery #29493

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

Closed

Conversation

timhoffm
Copy link
Member

DO NOT MERGE. This is a test to see how much time we spent on running the gallery examples. See #22956 (comment)

DO NOT MERGE. This is a test to see how much time we spent on running the gallery examples.
See matplotlib#22956 (comment)
@timhoffm
Copy link
Member Author

timhoffm commented Jan 20, 2025

Result: the pure build time was 4min compared to 7.5-8min previously. So there's a potential saving of ~3.5-4min. However, such build still produces warnings (currently 54) in the form of

/home/circleci/project/doc/users/prev_whats_new/whats_new_1.0.rst:29: WARNING: Could not obtain image size. :scale: option is ignored.
/home/circleci/project/doc/users/prev_whats_new/whats_new_1.0.rst:29: WARNING: Cannot scale image!

because we reuse figures from the gallery via the .. figure:: directive such as

.. figure:: ../../gallery/userdemo/images/sphx_glr_demo_gridspec01_001.png
:target: ../../gallery/userdemo/demo_gridspec01.html
:align: center
:scale: 50

These would need fixing one way or the other.

@timhoffm
Copy link
Member Author

Closing as the test has served its purpose. Discussion should continue in #22956.

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.

1 participant