-
Notifications
You must be signed in to change notification settings - Fork 905
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
Review diagrams/images in docs and potentially resize to a consistent maximum or use a plugin to make thumbnails #2643
Comments
The plugin might be this one https://github.com/sphinx-contrib/images |
@stichbury I would like to try working on this issue using the plugin
|
@astrojuanlu It looks like to use this plugin, the source docs need to have .rst extension. In example, the inline reference of the large image mentioned above should become: .. thumbnail:: docs/source/meta/images/pipeline_visualisation_with_layers.png from: "../meta/images/pipeline_visualisation.png" If we do that, we can make thumbnails and adjust the size of the photos. What do you think? |
We will not change the docs to rst - but the good news is that you can evaluate rst inside myst
|
@astrojuanlu Thanks for the help. It worked. I've made the following changes:
Now the images look like this: |
I have the following questions:
|
Let's start with a PR of what you already have @Gundalai-Batkhuu , and we can discuss about extending it to other parts of the code |
For future reference, in #3238 we found that https://pypi.org/project/sphinxcontrib-images/ has a bug when rendering the thumbnails on mobile. alternative solutions (or a fix upstream) are needed. |
Introduction
in PR #2625 I posted this response on taking a look through the diagrams in our docs:
The text was updated successfully, but these errors were encountered: