Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

This PR changes ensures that some schema files have the correct content type #32

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ github_username: json-schema-org
markdown: kramdown
#theme: minima

gems:
- jekyll-redirect-from

collections:
docs:
output: true
Expand Down
3 changes: 3 additions & 0 deletions calendar → calendar.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
redirect_from: "/calendar"
---
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A representation of an event",
Expand Down
3 changes: 3 additions & 0 deletions card → card.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
redirect_from: "/card"
---
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A representation of a person, company, organization, or place",
Expand Down
8 changes: 4 additions & 4 deletions documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ <h2>Standard schemas</h2>
<p>
<table class="key-value">
<tr>
<td class="key"><a href="http://json-schema.org/geo">Geographic Coordinate</a></td>
<td class="key"><a href="http://json-schema.org/geo.json">Geographic Coordinate</a></td>
<td class="value">a location as longitude and latitude</td>
</tr>
<tr>
<td class="key"><a href="http://json-schema.org/card">Card</a></td>
<td class="key"><a href="http://json-schema.org/card.json">Card</a></td>
<td class="value">a microformat-style representation of a person, company, organization, or place</td>
</tr>
<tr>
<td class="key"><a href="http://json-schema.org/calendar">Calendar</a></td>
<td class="key"><a href="http://json-schema.org/calendar.json">Calendar</a></td>
<td class="value">a microformat-style representation of an event</td>
</tr>
<tr>
<td class="key"><a href="http://json-schema.org/address">Address</a></td>
<td class="key"><a href="http://json-schema.org/address.json">Address</a></td>
<td class="value">a microformat-style representation of a street address</td>
</tr>
</table>
Expand Down
3 changes: 3 additions & 0 deletions geo → geo.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
redirect_from: "/geo"
---
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A geographical coordinate",
Expand Down