From e66de40a1dd10faf3025e8b31d9ccf854481e99c Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 24 Aug 2025 10:50:08 +0100 Subject: [PATCH 1/2] Switch twitter link to bluesky --- cheatsheets.tex | 4 ++-- check-links.py | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/cheatsheets.tex b/cheatsheets.tex index ded4174..5d5ce4f 100644 --- a/cheatsheets.tex +++ b/cheatsheets.tex @@ -329,8 +329,8 @@ {\faIcon{stack-overflow}\,stackoverflow.com/questions/tagged/matplotlib}\\ \href{https://gitter.im/matplotlib/matplotlib} {\faIcon{gitter}\,{https://gitter.im/matplotlib/matplotlib}}\\ - \href{https://twitter.com/matplotlib} - {\faIcon{twitter}\,twitter.com/matplotlib}\\ + \href{https://bsky.app/profile/matplotlib.org} + {\faIcon{bluesky}\,bsky.app/profile/matplotlib.org}\\ \href{https://mail.python.org/mailman/listinfo/matplotlib-users} {\faIcon[regular]{envelope}\,Matplotlib users mailing list} \end{myboxed} diff --git a/check-links.py b/check-links.py index aa6f449..2d59d02 100755 --- a/check-links.py +++ b/check-links.py @@ -11,10 +11,3 @@ status_codes = [pdfx.downloader.get_status_code(ref.ref) for ref in refs] broken_links = [(ref.ref, code) for ref, code in zip(refs, status_codes) if code != 200] - -# it seems that Twitter does not respond well to the link checker and throws a 400 -if all(['twitter.com' in url for url, _ in broken_links]): - sys.exit(0) -else: - print('Broken links:', broken_links) - sys.exit(1) From 2dace5993f5e00dc1effe235740bfa5a0efd2e43 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 24 Aug 2025 11:01:35 +0100 Subject: [PATCH 2/2] Bump fontawesome version --- cheatsheets.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheatsheets.tex b/cheatsheets.tex index 5d5ce4f..6b3290d 100644 --- a/cheatsheets.tex +++ b/cheatsheets.tex @@ -49,7 +49,7 @@ % --- Fonts ------------------------------------------------------------------- \usepackage{fontspec} -\usepackage[fixed]{fontawesome5} +\usepackage[fixed]{fontawesome6} \usepackage[babel=true]{microtype} \defaultfontfeatures{Ligatures=TeX} \setmainfont{Source Serif Pro}[