Skip to content

Commit

Permalink
Merge pull request #4133 from ralfhandl/gh-pages-no-latest-download
Browse files Browse the repository at this point in the history
gh-pages: no download link for "latest" schema
  • Loading branch information
handrews authored Oct 14, 2024
2 parents 2c60e4a + f96a3e9 commit 0c3a4ef
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This site contains the OpenAPI Initiative Registry and content for the HTML vers
{%- endif -%}
{%- if segments[3] != last_kind -%}
{%- assign last_kind = segments[3] %}
* [**view latest {{ last_kind }}**]({{ site.baseurl }}/oas/{{ last_version }}/{{ last_kind }}/latest.html)
* view [**{{ last_kind }}/{{ segments[4] }}**]({{ site.baseurl }}/oas/{{ last_version }}/{{ last_kind }}/{{ segments[4] }}.html)
download iteration
{%- assign separator = ": " -%}
{%- endif -%}
Expand Down
4 changes: 2 additions & 2 deletions oas/3.0/schema/latest.md → oas/3.0/schema/2021-09-28.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ parent: Schemas
---

```json
{% include_relative latest %}
```
{% include_relative {{ page.name | remove: ".md" }} %}
```
1 change: 0 additions & 1 deletion oas/3.0/schema/latest

This file was deleted.

2 changes: 1 addition & 1 deletion oas/3.1/dialect/latest.md → oas/3.1/dialect/base.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ parent: Schemas

```json
{% include_relative base %}
```
```
2 changes: 1 addition & 1 deletion oas/3.1/meta/latest.md → oas/3.1/meta/base.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ parent: Schemas

```json
{% include_relative base %}
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ parent: Schemas
---

```json
{% include_relative latest %}
```
{% include_relative {{ page.name | remove: ".md" }} %}
```
1 change: 0 additions & 1 deletion oas/3.1/schema-base/latest

This file was deleted.

4 changes: 2 additions & 2 deletions oas/3.1/schema/latest.md → oas/3.1/schema/2022-10-07.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ parent: Schemas
---

```json
{% include_relative latest %}
```
{% include_relative {{ page.name | remove: ".md" }} %}
```
1 change: 0 additions & 1 deletion oas/3.1/schema/latest

This file was deleted.

0 comments on commit 0c3a4ef

Please sign in to comment.