summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2019-10-19 13:38:04 -0400
committerJulian Berman <Julian@GrayVines.com>2019-10-19 13:38:04 -0400
commit6bf900261bb1e67f3ba0f3f0d1586bec12ee1942 (patch)
tree3b25fb9bbcb30ab22f946a64e8f9aa62333fb4f9 /docs/conf.py
parent9835833e04d79f79fc88a0c1268b4fc4b5782204 (diff)
downloadjsonschema-6bf900261bb1e67f3ba0f3f0d1586bec12ee1942.tar.gz
Codecov.io is super flaky.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 83499f0..1ec003c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -4,6 +4,7 @@
from textwrap import dedent
import os
+import re
import sys
import jsonschema
@@ -238,6 +239,15 @@ texinfo_documents = [
# How to display URL addresses: "footnote", "no", or "inline".
# texinfo_show_urls = "footnote"
+# -- Options for the linkcheck builder ------------------------------------
+
+
+def entire_domain(host):
+ return r"http.?://" + re.escape(host) + r"($|/.*)"
+
+
+linkcheck_ignore = [entire_domain("codecov.io")]
+
# -- Options for sphinxcontrib-spelling -----------------------------------
spelling_word_list_filename = "spelling-wordlist.txt"