Skip to content
Merged
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: 0 additions & 6 deletions cheatsheets.tex
Original file line number Diff line number Diff line change
Expand Up @@ -321,16 +321,10 @@
\begin{myboxed}{Getting help}
\href{https://matplotlib.org}
{\faIcon{globe}\,matplotlib.org}\\
\href{https://github.com/matplotlib/matplotlib/issues}
{\faIcon{github}\,github.com/matplotlib/matplotlib/issues}\\
\href{https://discourse.matplotlib.org}
{\faIcon{discourse}\,discourse.matplotlib.org}\\
\href{https://stackoverflow.com/questions/tagged/matplotlib}
{\faIcon{stack-overflow}\,stackoverflow.com/questions/tagged/matplotlib}\\
\href{https://twitter.com/matplotlib}
{\faIcon{twitter}\,twitter.com/matplotlib}\\
\href{https://mail.python.org/mailman/listinfo/matplotlib-users}
{\faIcon[regular]{envelope}\,Matplotlib users mailing list}
\end{myboxed}


Expand Down
4 changes: 2 additions & 2 deletions check-links.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
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 and stackoverflow do not respond well to the link checker and throws a 400
broken_links = [b for b in broken_links if not ('twitter.com' in b[0] or 'stackoverflow.com' in b[0])]
# It seems that stackoverflow does not respond well to the link checker and throws a 400
broken_links = [b for b in broken_links if not ('stackoverflow.com' in b[0])]

if len(broken_links) == 0:
sys.exit(0)
Expand Down
Loading