Skip to content

Commit d592e2f

Browse files
committed
Update the docs to point to draft 7 in the Sphinx role.
1 parent 3498c15 commit d592e2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sphinx_json_schema_spec/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
__version__ = "1.0.0"
16-
VALIDATION_SPEC = "https://json-schema.org/draft-04/json-schema-validation.html"
16+
VALIDATION_SPEC = "https://json-schema.org/draft-07/json-schema-validation.html"
1717

1818

1919
def setup(app):
@@ -85,8 +85,8 @@ def docutils_sucks(spec):
8585
"""
8686

8787
base_url = VALIDATION_SPEC
88-
ref_url = "https://json-schema.org/draft-04/json-schema-core.html#rfc.section.4.1"
89-
schema_url = "https://json-schema.org/draft-04/json-schema-core.html#rfc.section.6"
88+
ref_url = "https://json-schema.org/draft-07/json-schema-core.html#rfc.section.8.3"
89+
schema_url = "https://json-schema.org/draft-07/json-schema-core.html#rfc.section.7"
9090

9191
def validator(name, raw_text, text, lineno, inliner):
9292
"""

0 commit comments

Comments
 (0)