Skip to content

Commit 0c3a4ef

Browse files
authored
Merge pull request #4133 from ralfhandl/gh-pages-no-latest-download
gh-pages: no download link for "latest" schema
2 parents 2c60e4a + f96a3e9 commit 0c3a4ef

File tree

9 files changed

+9
-12
lines changed

9 files changed

+9
-12
lines changed

index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This site contains the OpenAPI Initiative Registry and content for the HTML vers
3838
{%- endif -%}
3939
{%- if segments[3] != last_kind -%}
4040
{%- assign last_kind = segments[3] %}
41-
* [**view latest {{ last_kind }}**]({{ site.baseurl }}/oas/{{ last_version }}/{{ last_kind }}/latest.html)
41+
* view [**{{ last_kind }}/{{ segments[4] }}**]({{ site.baseurl }}/oas/{{ last_version }}/{{ last_kind }}/{{ segments[4] }}.html)
4242
download iteration
4343
{%- assign separator = ": " -%}
4444
{%- endif -%}

oas/3.0/schema/latest.md renamed to oas/3.0/schema/2021-09-28.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ parent: Schemas
55
---
66

77
```json
8-
{% include_relative latest %}
9-
```
8+
{% include_relative {{ page.name | remove: ".md" }} %}
9+
```

oas/3.0/schema/latest

-1
This file was deleted.

oas/3.1/dialect/latest.md renamed to oas/3.1/dialect/base.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ parent: Schemas
66

77
```json
88
{% include_relative base %}
9-
```
9+
```

oas/3.1/meta/latest.md renamed to oas/3.1/meta/base.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ parent: Schemas
66

77
```json
88
{% include_relative base %}
9-
```
9+
```

oas/3.1/schema-base/latest.md renamed to oas/3.1/schema-base/2022-10-07.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ parent: Schemas
55
---
66

77
```json
8-
{% include_relative latest %}
9-
```
8+
{% include_relative {{ page.name | remove: ".md" }} %}
9+
```

oas/3.1/schema-base/latest

-1
This file was deleted.

oas/3.1/schema/latest.md renamed to oas/3.1/schema/2022-10-07.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ parent: Schemas
55
---
66

77
```json
8-
{% include_relative latest %}
9-
```
8+
{% include_relative {{ page.name | remove: ".md" }} %}
9+
```

oas/3.1/schema/latest

-1
This file was deleted.

0 commit comments

Comments
 (0)