Assets optimization #208
Mara-Li
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you're similar to me, you might find yourself dealing with an excessive number of images, which can significantly extend the building process. This issue becomes even more pronounced without the utilization of the optimize plugin (available at Material Mkdocs), as this feature is exclusively offered to sponsors.
In light of this, I made the decision to devise a new workflow. This workflow is designed to run daily and on-demand, leveraging the capabilities of calibre/calibreapp/image-actions to address this challenge.
Allow me to present the details of the workflow:
It will commit and push directly to the 'main' branch, but you can modify the final section to generate a pull request along with a summary. Personally, I opt to steer clear of pull requests in my situation due to an already excessive number (over 1,000 PRs accomplished!) caused by the plugin's effects. 😄
Beta Was this translation helpful? Give feedback.
All reactions