You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Host JSON Schemas for packaging specs as raw JSON files in this repository #1875
This seems like a good idea to me. Perhaps stored in a new https://packaging.python.org/en/latest/specifications/schemas subfolder, and then included via .. literalinclude:: directives so we're not duplicating the content in the prose docs?
We could potentially put an index.rst in the schemas subfolder (adding it as the last entry in the main specifications TOC, but I'm not sure that's actually necessary.
The main alternative layout I can see would be to try to group each schema with its corresponding prose documentation in dedicated subfolders, but that wouldn't align neatly with the existing flat layout of the prose specifications, so it doesn't seem worth the extra effort.
and then included via .. literalinclude:: directives so we're not duplicating the content in the prose docs?
👍
We could potentially put an index.rst in the schemas subfolder (adding it as the last entry in the main specifications TOC, but I'm not sure that's actually necessary.
That would mean moving a few files around but I'd try to preserve the intent of some of the changes made in #1807, so we can further discuss in the PR.
The main alternative layout I can see would be to try to group each schema with its corresponding prose documentation in dedicated subfolders, but that wouldn't align neatly with the existing flat layout of the prose specifications, so it doesn't seem worth the extra effort.
Activity
ncoghlan commentedon Aug 2, 2025
This seems like a good idea to me. Perhaps stored in a new
https://packaging.python.org/en/latest/specifications/schemassubfolder, and then included via.. literalinclude::directives so we're not duplicating the content in the prose docs?We could potentially put an
index.rstin the schemas subfolder (adding it as the last entry in the main specifications TOC, but I'm not sure that's actually necessary.The main alternative layout I can see would be to try to group each schema with its corresponding prose documentation in dedicated subfolders, but that wouldn't align neatly with the existing flat layout of the prose specifications, so it doesn't seem worth the extra effort.
edgarrmondragon commentedon Aug 4, 2025
Yeah, luckily they seems to already be the case thanks to
https://github.com/pypa/packaging.python.org/blob/e3f46317b2cba1a4b0b8e280c177cde81a522dd7/source/conf.py#L86-L88
👍
That would mean moving a few files around but I'd try to preserve the intent of some of the changes made in #1807, so we can further discuss in the PR.
Agreed.