Skip to content

Commit

Permalink
www: adjust headers and decscriptions
Browse files Browse the repository at this point in the history
- make it more obvious how tests are categorized
- make it clear the conformance is wider than just HTTP Gateway
  funcitonality
- add canonical link
  • Loading branch information
lidel committed Nov 7, 2023
1 parent fa87c6a commit ee75253
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion www/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
baseURL: http://example.org/
baseURL: https://conformance.ipfs.tech/
languageCode: en-us
title: Gateway Conformance Dashboard

Expand Down
6 changes: 4 additions & 2 deletions www/content/current.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
title: Testing Dashboard
title: By Reference Implementation
published: true
menu:
main:
weight: 10
---

This table shows the test results organized by test groups and implementations. Click on any row or cell to drill down into the tests results.
This table shows the test results organized by test groups and reference implementations. Click on any row or cell to drill down into the tests results.

See [README](https://github.com/ipfs/gateway-conformance/#readme) for instructions how to run these tests in your own CI against your own implementation.

<!--more-->

Expand Down
6 changes: 4 additions & 2 deletions www/content/specs/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Specification Dashboard
title: By Specification
published: true
menu:
main:
Expand All @@ -8,4 +8,6 @@ menu:

This table shows the test results organized by specifications and implementations. Click on any row or cell to drill down into the tests results. Click on any "Children Spec Test Suite" or "Section Test Suite" to drill down into results.

<!--more-->
See [README](https://github.com/ipfs/gateway-conformance/#readme) for instructions how to run these tests in your own CI against your own implementation.

<!--more-->
15 changes: 12 additions & 3 deletions www/themes/conformance/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,20 @@
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-10 text-white">
<img src="{{ "logo.png" | absURL }}" alt="Conformance Testing Logo" class="w-32 h-32" />
<h1 class="my-6">
IPFS Gateway Conformance
IPFS Gateway Conformance Test Suite
</h1>
<p>
The purpose of <em>IPFS Gateway Conformance</em> is to provide a vendor-agnostic gateway conformance test suite for users and implementers of IPFS Gateways. We ensure compliance with <a href="https://specs.ipfs.tech/http-gateways/">specs.ipfs.tech</a>.
Find us on <a href="https://github.com/ipfs/gateway-conformance">Github</a>.
The purpose of <em>IPFS Gateway Conformance</em> is to provide a HTTP-based, vendor-agnostic conformance test suite for users and implementers of IPFS.
</p>
<p>
It ensures implementations comply with a subset of <a
href="https://specs.ipfs.tech/">IPFS Specifications</a> beyond HTTP
Gateway functionality. Tests included in this suite can be used to verify the
implementations of data formats beyond raw blocks and
CARs, such as HAMT-sharded UnixFS, DAG-CBOR, or even DNSLink and IPNS Records.
</p>
<p>
Learn how to use this in your own project on <a href="https://github.com/ipfs/gateway-conformance#readme">Github</a>.
</p>
</div>
</header>
Expand Down
3 changes: 2 additions & 1 deletion www/themes/conformance/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

{{ $styles := resources.Get "style.css" }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}"/>
<link rel="canonical" href="{{ .Permalink | safeURL }}" />

{{ with .Params.RedirectsTo }}
<meta http-equiv="refresh" content="0; url={{ . | absURL }}"/>
{{ end }}

{{ .Params.RedirectsTo }}
{{ .Params.RedirectsTo }}

0 comments on commit ee75253

Please sign in to comment.