Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cheatsheets.tex
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

% --- Fonts -------------------------------------------------------------------
\usepackage{fontspec}
\usepackage[fixed]{fontawesome5}
\usepackage[fixed]{fontawesome6}
\usepackage[babel=true]{microtype}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{Source Serif Pro}[
Expand Down Expand Up @@ -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}
Expand Down
7 changes: 0 additions & 7 deletions check-links.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Loading