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

Commit 449749a

Browse files
committedDec 4, 2017
Align page and file names
It has long annoyed me that our page names and filenames don't match. I open specification-links.md when I mean to open documentation.md probably half the time at least. * Update "gems" to "plugins" to get jekyll to stop complaining * Add the redirect plugin * Rename documentation.md to specification.md and add a redirect * Change the title of implementations.md to Implementations Remove most remaining links to ".md" URIs and standardize on ".html" which seems to be what we've been going for. I think there are still example links with ".md" but I did not want to touch the examples at all for now.
1 parent 1d7af5e commit 449749a

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed
 

‎_config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ markdown: kramdown
2727
theme: minima
2828

2929
header_pages:
30-
- documentation.md
30+
- specification.md
3131
- examples.md
3232
- implementations.md
3333

@@ -36,5 +36,6 @@ exclude:
3636
- Gemfile
3737
- node_modules
3838

39-
gems:
39+
plugins:
4040
- jekyll-relative-links
41+
- jekyll-redirect-from

‎implementations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: Software
3+
title: Implementations
44
permalink: /implementations.html
55
---
66

‎index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: JSON Schema
44
permalink: /
55
---
66

7-
***Draft-07 has been [published](documentation.md)!***
7+
***Draft-07 has been [published](specification.html)!***
88
{: style="color:gray; font-size: 150%; text-align: center;"}
99

1010
**JSON Schema** is a vocabulary that allows you to **annotate** and **validate** JSON documents.
@@ -86,9 +86,9 @@ More
8686

8787
Interested? Check out:
8888

89-
- the [specification](documentation.md)
89+
- the [specification](specification.html)
9090
- some [examples](examples.md)
91-
- the growing list of [JSON (Hyper-)Schema software](implementations.md)
91+
- the growing list of [JSON (Hyper-)Schema software](implementations.html)
9292

9393
We encourage updating to the latest specification, as described by the draft-07 meta-schemas. However, if you are still using draft-04, you may be interested in:
9494
- this [excellent guide](http://spacetelescope.github.io/understanding-json-schema/) for schema authors, from the [Space Telescope Science Institute](http://www.stsci.edu/)

‎specification-links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: page
55

66
<!-- Links on this page should be immutable - none of them should go to `/latest`, etc. -->
77

8-
You can find the latest released draft on the [Specification](/documentation.md) page. Older drafts are expired, but may be of historical interest.
8+
You can find the latest released draft on the [Specification](/specification.html) page. Older drafts are expired, but may be of historical interest.
99

1010
**A note on draft naming and numbering:**
1111
IETF Internet-Drafts (I-Ds) are named with the editor's name and a sequential number which resets with each new editor. Meta-schemas are numbered sequentially. Additionally, drafts 00-03 used one document for all three current specs. Most people find it easier to remember the sequential meta-schema numbers, so those are used throughout the site.

‎documentation.md renamed to ‎specification.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
layout: page
3+
redirect_from: "/documentation.html"
4+
permalink: /specification.html
35
title: Specification
46
---
57

0 commit comments

Comments
 (0)
This repository has been archived.