Skip to content

Make registry internal links relative [gh-pages] #3179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion registry/alternative-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}| <a href="/registry/alternative-schema/{{ value.slug }}.html">{{ value.slug }}</a> | <a id="{{ value.slug }}"/>{{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% for value in site.alternative-schema %}| <a href="./{{ value.slug }}.html">{{ value.slug }}</a> | <a id="{{ value.slug }}"/>{{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% endfor %}

2 changes: 1 addition & 1 deletion registry/draft-feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}| <a href="/registry/draft-feature/{{ value.slug }}.html">{{ value.slug }}</a> | {{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% for value in site.draft-feature %}| <a href="./{{ value.slug }}.html">{{ value.slug }}</a> | {{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% endfor %}

2 changes: 1 addition & 1 deletion registry/extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls

|Value|Description|Issue|
|---|---|---|
{% for value in site.extension %}| <a href="/registry/extension/{{ value.slug }}.html">{{ value.slug }}</a> | {{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% for value in site.extension %}| <a href="./{{ value.slug }}.html">{{ value.slug }}</a> | {{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% endfor %}

2 changes: 1 addition & 1 deletion registry/format.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ Please raise a [Pull-Request](https://github.com/OAI/OpenAPI-Specification/pulls

|Value|Description|Issue|
|---|---|---|
{% for value in site.format %}| <a href="/registry/format/{{ value.slug }}.html">{{ value.slug }}</a> | {{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% for value in site.format %}| <a href="./{{ value.slug }}.html">{{ value.slug }}</a> | {{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% endfor %}

8 changes: 4 additions & 4 deletions registry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}* <a href="/registry/{{ registry.slug }}">{{ registry.name }}{% endunless %}
{% for registry in site.collections %}{% unless registry.hidden %}* <a href="./{{ registry.slug }}">{{ registry.name }}{% endunless %}
{% endfor %}

#### API access

* [registries.json](/api/registries.json) - Registries meta-registry
{% for registry in site.collections %}{% unless registry.hidden %}* <a href="/api/{{ registry.slug }}.json">{{ registry.slug }}.json</a>{% endunless %}
* [registries.json](./api/registries.json) - Registries meta-registry
{% for registry in site.collections %}{% unless registry.hidden %}* <a href="../api/{{ registry.slug }}.json">{{ registry.slug }}.json</a>{% endunless %}
{% endfor %}

#### RSS feed

* [feed.xml](/rss/feed.xml)
* [feed.xml](../rss/feed.xml)

2 changes: 1 addition & 1 deletion registry/namespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}| <a href="/registry/namespace/{{ value.slug }}.html">{{ value.slug }}</a> | x-{{ value.slug }}-|{{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% for value in site.namespace %}| <a href="./{{ value.slug }}.html">{{ value.slug }}</a> | x-{{ value.slug }}-|{{ value.description }} | {% if value.issue %}<a href="https://github.com/OAI/OpenAPI-Specification/issues/{{ value.issue }}">#{{ value.issue }}</a>{% endif %} |
{% endfor %}