Skip to content

Commit 690d7c6

Browse files
authored
Merge pull request #4366 from ralfhandl/gh-pages-show-oas-2.0-schema
gh-pages: show OAS 2.0 schema
2 parents 6049612 + e7e5ea5 commit 690d7c6

File tree

3 files changed

+1620
-3
lines changed

3 files changed

+1620
-3
lines changed

_includes/schema-iteration-list.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@
55
{%- assign segments = file.path | split: "/" -%}
66
{%- if segments[1] == include.specification -%}
77
{%- if segments[2] != last_version -%}
8-
{%- assign last_version = segments[2] %}
8+
{% assign last_version = segments[2] %}
9+
{% assign last_kind = "" %}
910
* **v{{ last_version }}**
1011
{%- endif -%}
1112
{%- if segments[3] != last_kind -%}
1213
{%- if segments[4] == "base" -%}
1314
{%- continue -%}
1415
{%- endif -%}
15-
{%- assign last_kind = segments[3] %}
16+
{% assign last_kind = segments[3] %}
1617
* view [**{{ last_kind }}/{{ segments[4] }}**]({{ site.baseurl }}/{{ include.specification }}/{{ last_version }}/{{ last_kind }}/{{ segments[4] }}.html)
1718
download iteration
1819
{%- assign separator = ": " -%}
1920
{%- endif -%}
2021
{{ separator }} [{{ file.basename | replace: "-", "‑" }}]({{ site.baseurl }}{{ file.path }})
2122
{%- assign separator = ", " -%}
2223
{%- endif -%}
23-
{%- endfor %}
24+
{%- endfor -%}

0 commit comments

Comments
 (0)