Skip to content

Commit 0254c80

Browse files
committed
HTTPS (almost) everywhere.
1 parent 62400ae commit 0254c80

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

sphinx_json_schema_spec/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from lxml import html
1212

1313

14-
VALIDATION_SPEC = "http://json-schema.org/draft-04/json-schema-validation.html"
14+
VALIDATION_SPEC = "https://json-schema.org/draft-04/json-schema-validation.html"
1515

1616

1717
def setup(app):
@@ -84,10 +84,8 @@ def docutils_sucks(spec):
8484
"""
8585

8686
base_url = VALIDATION_SPEC
87-
ref_url = "http://json-schema.org/draft-04/json-schema-core.html#rfc.section.4.1"
88-
schema_url = (
89-
"http://json-schema.org/draft-04/json-schema-core.html#rfc.section.6"
90-
)
87+
ref_url = "https://json-schema.org/draft-04/json-schema-core.html#rfc.section.4.1"
88+
schema_url = "https://json-schema.org/draft-04/json-schema-core.html#rfc.section.6"
9189

9290
def validator(name, raw_text, text, lineno, inliner):
9391
"""

0 commit comments

Comments
 (0)