Skip to content

Commit

Permalink
fix: Correct sidebar links on provenance page
Browse files Browse the repository at this point in the history
When clicking on Schema.Builder, the anchor would go to the table row
with the builder ID instead of the builder heading. This should
deconflict the anchor points to make the sidebar correctly point to the
right place on the page.

The change also makes the tr ids consistent for the RunDetails section.

Signed-off-by: arewm <[email protected]>
  • Loading branch information
arewm committed Dec 13, 2024
1 parent 852a4fd commit 343e88d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/spec/draft/provenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,18 +309,18 @@ REQUIRED for SLSA Build L1: `builder`
<table>
<tr><th>Field<th>Type<th>Description

<tr id="builder"><td><code>builder</code>
<tr id="runDetailsBuilder"><td><code>builder</code>
<td><a href="#builder">Builder</a><td>

Identifies the build platform that executed the invocation, which is trusted to
have correctly performed the operation and populated this provenance.

<tr id="metadata"><td><code>metadata</code>
<tr id="runDetailsMetadata"><td><code>metadata</code>
<td><a href="#buildmetadata">BuildMetadata</a><td>

Metadata about this particular execution of the build.

<tr id="byproducts"><td><code>byproducts</code>
<tr id="runDetailByproducts"><td><code>byproducts</code>
<td>array (<a href="https://github.com/in-toto/attestation/blob/7aefca35a0f74a6e0cb397a8c4a76558f54de571/spec/v1/resource_descriptor.md">ResourceDescriptor</a>)<td>

Additional artifacts generated during the build that are not considered
Expand Down
6 changes: 3 additions & 3 deletions docs/spec/v1.0/provenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,18 +296,18 @@ REQUIRED for SLSA Build L1: `builder`
<table>
<tr><th>Field<th>Type<th>Description

<tr id="builder"><td><code>builder</code>
<tr id="runDetailsBuilder"><td><code>builder</code>
<td><a href="#builder">Builder</a><td>

Identifies the build platform that executed the invocation, which is trusted to
have correctly performed the operation and populated this provenance.

<tr id="metadata"><td><code>metadata</code>
<tr id="runDetailsMetadata"><td><code>metadata</code>
<td><a href="#buildmetadata">BuildMetadata</a><td>

Metadata about this particular execution of the build.

<tr id="byproducts"><td><code>byproducts</code>
<tr id="runDetailByproducts"><td><code>byproducts</code>
<td>array (<a href="https://github.com/in-toto/attestation/blob/main/spec/v1/resource_descriptor.md">ResourceDescriptor</a>)<td>

Additional artifacts generated during the build that are not considered
Expand Down
6 changes: 3 additions & 3 deletions docs/spec/v1.1/provenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,18 +309,18 @@ REQUIRED for SLSA Build L1: `builder`
<table>
<tr><th>Field<th>Type<th>Description

<tr id="builder"><td><code>builder</code>
<tr id="runDetailsBuilder"><td><code>builder</code>
<td><a href="#builder">Builder</a><td>

Identifies the build platform that executed the invocation, which is trusted to
have correctly performed the operation and populated this provenance.

<tr id="metadata"><td><code>metadata</code>
<tr id="runDetailsMetadata"><td><code>metadata</code>
<td><a href="#buildmetadata">BuildMetadata</a><td>

Metadata about this particular execution of the build.

<tr id="byproducts"><td><code>byproducts</code>
<tr id="runDetailByproducts"><td><code>byproducts</code>
<td>array (<a href="https://github.com/in-toto/attestation/blob/7aefca35a0f74a6e0cb397a8c4a76558f54de571/spec/v1/resource_descriptor.md">ResourceDescriptor</a>)<td>

Additional artifacts generated during the build that are not considered
Expand Down

0 comments on commit 343e88d

Please sign in to comment.