Skip to content

Commit f96a3e9

Browse files
committed
Remove "latest"
1 parent df42d92 commit f96a3e9

File tree

9 files changed

+9
-14
lines changed

9 files changed

+9
-14
lines changed

index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,11 @@ 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 [**{{ last_kind }}**]({{ site.baseurl }}/oas/{{ last_version }}/{{ last_kind }}/{{ segments[4] }}.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 -%}
45-
{%- if file.basename != "latest" -%}
4645
{{ separator }} [{{ file.basename | replace: "-", "‑" }}]({{ site.baseurl }}{{ file.path }})
4746
{%- assign separator = ", " -%}
4847
{%- endif -%}
49-
{%- endif -%}
5048
{%- endfor %}

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 0 additions & 1 deletion
This file was deleted.

oas/3.1/dialect/base.md

Lines changed: 1 addition & 1 deletion
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/base.md

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 0 additions & 1 deletion
This file was deleted.

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)