Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
# https://plausible.io/packaging.python.org
html_js_files.extend(_metrics_js_files)

html_extra_path = [
"../extra",
]

# -- Options for HTML help output ------------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-help-output

Expand Down Expand Up @@ -157,6 +161,9 @@
# https://github.com/pypa/packaging.python.org/issues/1744
r"https://pypi\.org/",
]
linkcheck_exclude_documents = [
"specifications/schemas/index",
]
Comment on lines +165 to +167
Copy link
Contributor Author

@edgarrmondragon edgarrmondragon Sep 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this to skip checking the links to the schema files

Outdated comment about broken npmjs link

but now https://www.npmjs.com/ is returning a 403

https://github.com/pypa/packaging.python.org/actions/runs/17874520027/job/50833970948?pr=1910#step:5:1022

Fixed by #1928.


# -- Options for extlinks ----------------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#configuration
Expand Down
2 changes: 1 addition & 1 deletion source/specifications/build-details/v1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Specification
-------------

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


Expand Down
2 changes: 1 addition & 1 deletion source/specifications/direct-url-data-structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ JSON Schema

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

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

Examples
========
Expand Down
Loading