Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add GitHub Pages site with the latest cheatsheets and handouts #63

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

Merged
merged 2 commits into from
Jun 29, 2021

Conversation

jimustafa
Copy link
Contributor

This PR should create a new gh-pages branch with the latest cheatsheets. The gh-pages branch will not keep track of changes, rather, the cheatsheets will be replaced with each new commit to master. With GitHub Pages working properly, the PDFs and PNGs will be available at https://matplotlib.org/cheatsheets/cheatsheets.pdf, and so on.

@rougier
Copy link
Member

rougier commented Jun 21, 2021

Fantastic! Does this handle the case when a build breaks (such that we do not upload broken cheatsheets)?

@jimustafa
Copy link
Contributor Author

Yes, the workflow step where the cheatsheets are published only runs after a successful build, which, at this point, means they passed the page count checks.

@rougier
Copy link
Member

rougier commented Jun 29, 2021

Looks good to me. We might need to increase the DPI of png but that's very minor.

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