Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 1 addition & 3 deletions docs/user/attestations/consuming-attestations.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Consuming attestations

<!--[[ preview('index-attestations') ]]-->

PyPI makes a file's attestations available via the simple index (HTML)
and simple JSON APIs.

Expand All @@ -12,7 +10,7 @@ For a full API reference, see the [Integrity API documentation].
Since a distribution file can have multiple attestations, and PyPI serves
these attestations as a single JSON file, this JSON file groups the
attestations into a single [provenance object]. This object contains
bundles of attestations grouped by the Trusted Publisher identity used
bundles of attestations grouped by the Trusted Publisher identity used
to sign them.

To manually verify a PyPI artifact against its provenance object,
Expand Down
2 changes: 0 additions & 2 deletions docs/user/attestations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: Introduction
---

<!--[[ preview('index-attestations') ]]-->

These pages document PyPI's implementation of digital attestations ([PEP 740]),
including in-toto attestation predicates specific to PyPI itself.

Expand Down
2 changes: 0 additions & 2 deletions docs/user/attestations/producing-attestations.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Producing attestations

<!--[[ preview('index-attestations') ]]-->

PyPI allows attestations to be attached to individual *release files*
(source and binary distributions within a release) at upload time.

Expand Down
2 changes: 0 additions & 2 deletions docs/user/attestations/publish/v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: PyPI Publish Attestation (v1)
---

<!--[[ preview('index-attestations') ]]-->

Type URI: <https://docs.pypi.org/attestations/publish/v1>

Version 1.0
Expand Down
11 changes: 1 addition & 10 deletions docs/user/main.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
from pathlib import Path

INDEX_ATTESTATIONS = """
!!! info
Index attestations are currently under active development,
and are not yet considered stable.
"""

PREVIEW_FEATURES = {
"index-attestations": INDEX_ATTESTATIONS,
}
PREVIEW_FEATURES = {}
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: this is now unused, but I figured it's better to keep in as scaffolding for future preview features.


_HERE = Path(__file__).parent.resolve()

Expand Down