From 460a67dbebbf07970f110d1ffaf990fd0dc763b3 Mon Sep 17 00:00:00 2001 From: "Henry H. Andrews" Date: Wed, 1 Mar 2023 09:39:14 -0800 Subject: [PATCH 1/3] Make links relative This allows renderings of forks to work. --- README.md | 2 +- index.md | 2 +- registry/alternative-schema.md | 2 +- registry/draft-feature.md | 2 +- registry/extension.md | 2 +- registry/format.md | 2 +- registry/index.md | 8 ++++---- registry/namespace.md | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index fa4a0ebe4a..9fa262951d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This site contains the OpenAPI Initiative Registry and content for the HTML vers ## Registry -* Proceed to [Registry](/registry/index.html) +* Proceed to [Registry](./registry/index.html) ## The Specification diff --git a/index.md b/index.md index fcc9bac2a2..f949d157ca 100644 --- a/index.md +++ b/index.md @@ -8,7 +8,7 @@ This site contains the OpenAPI Initiative Registry and content for the HTML vers ## Registry -* Proceed to [Registry](/registry/index.html) +* Proceed to [Registry](./registry/index.html) ## The Specification diff --git a/registry/alternative-schema.md b/registry/alternative-schema.md index f558b6df06..b5f38275ed 100644 --- a/registry/alternative-schema.md +++ b/registry/alternative-schema.md @@ -17,6 +17,6 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls |Value|Description|Issue| |---|---|---| -{% for value in site.alternative-schema %}| {{ value.slug }} | {{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | +{% for value in site.alternative-schema %}| {{ value.slug }} | {{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | {% endfor %} diff --git a/registry/draft-feature.md b/registry/draft-feature.md index 53987354dd..858d5fe402 100644 --- a/registry/draft-feature.md +++ b/registry/draft-feature.md @@ -17,6 +17,6 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls |Value|Description|Issue| |---|---|---| -{% for value in site.draft-feature %}| {{ value.slug }} | {{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | +{% for value in site.draft-feature %}| {{ value.slug }} | {{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | {% endfor %} diff --git a/registry/extension.md b/registry/extension.md index 6691c64f5c..77b3e526d9 100644 --- a/registry/extension.md +++ b/registry/extension.md @@ -17,6 +17,6 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls |Value|Description|Issue| |---|---|---| -{% for value in site.extension %}| {{ value.slug }} | {{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | +{% for value in site.extension %}| {{ value.slug }} | {{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | {% endfor %} diff --git a/registry/format.md b/registry/format.md index 592f848eaf..a23620794e 100644 --- a/registry/format.md +++ b/registry/format.md @@ -17,6 +17,6 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls |Value|Description|Issue| |---|---|---| -{% for value in site.format %}| {{ value.slug }} | {{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | +{% for value in site.format %}| {{ value.slug }} | {{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | {% endfor %} diff --git a/registry/index.md b/registry/index.md index d94588abca..deae5f3784 100644 --- a/registry/index.md +++ b/registry/index.md @@ -9,16 +9,16 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls ### Contents -{% for registry in site.collections %}{% unless registry.hidden %}* {{ registry.name }}{% endunless %} +{% for registry in site.collections %}{% unless registry.hidden %}* {{ registry.name }}{% endunless %} {% endfor %} #### API access -* [registries.json](/api/registries.json) - Registries meta-registry -{% for registry in site.collections %}{% unless registry.hidden %}* {{ registry.slug }}.json{% endunless %} +* [registries.json](./api/registries.json) - Registries meta-registry +{% for registry in site.collections %}{% unless registry.hidden %}* {{ registry.slug }}.json{% endunless %} {% endfor %} #### RSS feed -* [feed.xml](/rss/feed.xml) +* [feed.xml](./rss/feed.xml) diff --git a/registry/namespace.md b/registry/namespace.md index b64f795f0c..24cb4430c6 100644 --- a/registry/namespace.md +++ b/registry/namespace.md @@ -15,5 +15,5 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls |Value|Prefix|Description|Issue| |---|---|---|---| -{% for value in site.namespace %}| {{ value.slug }} | x-{{ value.slug }}-|{{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | +{% for value in site.namespace %}| {{ value.slug }} | x-{{ value.slug }}-|{{ value.description }} | {% if value.issue %}#{{ value.issue }}{% endif %} | {% endfor %} From 9fbab3e259809652d1fb23c1bc63a6c880fb5b95 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Thu, 2 Mar 2023 11:02:43 -0800 Subject: [PATCH 2/3] Remove extra "/" from URL Co-authored-by: Mike Ralphson --- registry/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/index.md b/registry/index.md index deae5f3784..409e8f6362 100644 --- a/registry/index.md +++ b/registry/index.md @@ -15,7 +15,7 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls #### API access * [registries.json](./api/registries.json) - Registries meta-registry -{% for registry in site.collections %}{% unless registry.hidden %}* {{ registry.slug }}.json{% endunless %} +{% for registry in site.collections %}{% unless registry.hidden %}* {{ registry.slug }}.json{% endunless %} {% endfor %} #### RSS feed From e4825310073f1f9ad1951875aa28baef51d5585e Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Thu, 2 Mar 2023 11:03:12 -0800 Subject: [PATCH 3/3] Need to go up a level for the rss URL Co-authored-by: Mike Ralphson --- registry/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/index.md b/registry/index.md index 409e8f6362..2575b7b1bc 100644 --- a/registry/index.md +++ b/registry/index.md @@ -20,5 +20,5 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls #### RSS feed -* [feed.xml](./rss/feed.xml) +* [feed.xml](../rss/feed.xml)