Skip to content

Commit 3669181

Browse files
Fix links to spec schemas
1 parent 56c1fef commit 3669181

File tree

6 files changed

+9
-2
lines changed

6 files changed

+9
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

source/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@
8383
# https://plausible.io/packaging.python.org
8484
html_js_files.extend(_metrics_js_files)
8585

86+
html_extra_path = [
87+
"../extra",
88+
]
89+
8690
# -- Options for HTML help output ------------------------------------------------------
8791
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-help-output
8892

@@ -157,6 +161,9 @@
157161
# https://github.com/pypa/packaging.python.org/issues/1744
158162
r"https://pypi\.org/",
159163
]
164+
linkcheck_exclude_documents = [
165+
"specifications/schemas/index",
166+
]
160167

161168
# -- Options for extlinks ----------------------------------------------------------
162169
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#configuration

source/specifications/build-details/v1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Specification
99
-------------
1010

11-
.. jsonschema:: ../schemas/build-details-v1.0.schema.json
11+
.. jsonschema:: ../../../extra/specifications/schemas/build-details-v1.0.schema.json
1212
:lift_title: false
1313

1414

source/specifications/direct-url-data-structure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ JSON Schema
236236

237237
The following JSON Schema can be used to validate the contents of ``direct_url.json``:
238238

239-
.. literalinclude:: schemas/direct-url.schema.json
239+
.. literalinclude:: ../../extra/specifications/schemas/direct-url.schema.json
240240

241241
Examples
242242
========

0 commit comments

Comments
 (0)