From 0405cd6c6d55239d6210d1d7088cda523b36a435 Mon Sep 17 00:00:00 2001 From: Dariksha Date: Fri, 9 Aug 2024 16:45:12 +0530 Subject: [PATCH] Changes in specs Signed-off-by: Dariksha --- content/en/docs/spec-table.md | 8 +------- data/specs.yaml | 11 +++++++++++ layouts/shortcodes/specs.html | 27 +++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 7 deletions(-) create mode 100644 data/specs.yaml create mode 100644 layouts/shortcodes/specs.html diff --git a/content/en/docs/spec-table.md b/content/en/docs/spec-table.md index b89b78f..495f1ca 100644 --- a/content/en/docs/spec-table.md +++ b/content/en/docs/spec-table.md @@ -4,10 +4,4 @@ linkTitle: Specs weight: 7 --- -| Name | Status | Version | URL | Description | -|-------------------------------|--------|---------|-------------------------------------------------------------------------------|-------------| -| in-toto | Stable | v1.0 | [in-toto v1.0](https://github.com/in-toto/docs/blob/v1.0/in-toto-spec.md) | This is a thoroughly-reviewed version of the specification (and probably what you're looking for). | -| in-toto | Latest | master | [in-toto master](https://github.com/in-toto/docs/blob/master/in-toto-spec.md) | If you want to see the latest changes and possible features, click this. | -| in-toto Attestation Framework | Stable | v1.0 | [Attestation Framework v1.0](https://github.com/in-toto/attestation/tree/v1.0/) | The in-toto Attestation Framework is developed independently of the in-toto specification. A future version of the in-toto specification will incorporate this framework as the mechanism to express software supply chain claims. | -| in-toto Attestation Framework | Latest | master | - | If you want to see the latest changes to the in-toto Attestation Framework, click this. | - +{{< specs >}} diff --git a/data/specs.yaml b/data/specs.yaml new file mode 100644 index 0000000..ec62053 --- /dev/null +++ b/data/specs.yaml @@ -0,0 +1,11 @@ +- version: in-toto Stable (v1.0) + url: https://github.com/in-toto/docs/blob/v1.0/in-toto-spec.md + description: This is a thoroughly-reviewed version of the specification (and probably what you're looking for). +- version: in-toto Latest + url: https://github.com/in-toto/docs/blob/master/in-toto-spec.md + description: If you want to see the latest changes and possible features, click this. +- version: in-toto Attestation Framework Stable (v1.0) + url: https://github.com/in-toto/attestation/tree/v1.0/ + description: The in-toto Attestation Framework is developed independently of the in-toto specification. A future version of the in-toto specification will incorporate this framework as the mechanism to express software supply chain claims. +- version: in-toto Attestation Framework Latest + description: If you want to see the latest changes to the in-toto Attestation Framework, click this. diff --git a/layouts/shortcodes/specs.html b/layouts/shortcodes/specs.html new file mode 100644 index 0000000..6a88db7 --- /dev/null +++ b/layouts/shortcodes/specs.html @@ -0,0 +1,27 @@ +{{ $specs := site.Data.specs }} + + + + + + + + + {{ range $specs }} + + + + + {{ end }} + +
+ Version + + Description +
+ + {{ .version }} + + + {{ .description | markdownify }} +