Skip to content

New spec page structure- #823

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 49 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
8946f64
Spec draft fixes
kwennB Jul 17, 2024
37ca719
Merge branch 'json-schema-org:main' into new-spec-structure
kwennB Jul 17, 2024
4292510
Updating draft sections
kwennB Jul 18, 2024
90410bf
metadata syntax fixes
DhairyaMajmudar Jul 18, 2024
5dba363
Merge pull request #1 from DhairyaMajmudar/new-spec-structure
kwennB Jul 18, 2024
49c5145
modified spec docs
kwennB Jul 19, 2024
902d0ae
adding table component
DhairyaMajmudar Jul 22, 2024
0e87086
adding title
DhairyaMajmudar Jul 22, 2024
b207f98
Merge pull request #2 from DhairyaMajmudar/new-spec-structure
kwennB Jul 22, 2024
bfcea46
Spec draft fixes-2
kwennB Jul 22, 2024
52e562e
Merge branch 'new-spec-structure' of https://github.com/kwennB/websit…
kwennB Jul 22, 2024
bcd01d5
Spec draft fixes-3
kwennB Jul 22, 2024
e7730dc
doc-table
DhairyaMajmudar Jul 23, 2024
1d5f9df
fixing draft7
DhairyaMajmudar Jul 23, 2024
4df579f
draft7 fix
DhairyaMajmudar Jul 23, 2024
d94018b
converting in links
DhairyaMajmudar Jul 23, 2024
b144b8f
Merge pull request #3 from DhairyaMajmudar/new-spec-structure
kwennB Jul 23, 2024
6251444
Merge branch 'json-schema-org:main' into new-spec-structure
kwennB Jul 23, 2024
68ff0c7
adding multiple files
DhairyaMajmudar Jul 23, 2024
d75b860
Merge pull request #4 from DhairyaMajmudar/new-spec-structure
kwennB Jul 23, 2024
58cc4cf
Spec draft fixes-4
kwennB Jul 23, 2024
653129d
Merge branch 'new-spec-structure' of https://github.com/kwennB/websit…
kwennB Jul 23, 2024
0e08ca7
Spec draft fixes-5
kwennB Jul 23, 2024
15ff1ad
Spec draft fixes-6
kwennB Jul 23, 2024
20ca8e7
Merge branch 'main' of https://github.com/json-schema-org/website int…
DhairyaMajmudar Jul 23, 2024
c3176f2
Merge branch 'new-spec-structure' of https://github.com/kwennB/websit…
DhairyaMajmudar Jul 24, 2024
ca9779c
resolving merge conflicts
DhairyaMajmudar Jul 24, 2024
5f86cf3
Merge pull request #5 from DhairyaMajmudar/new-spec-structure
kwennB Jul 25, 2024
b1fc371
Modified spec page
kwennB Jul 25, 2024
1465e80
Modified json hyper-schema page
kwennB Jul 25, 2024
09ac557
Merge branch 'json-schema-org:web-feat-diataxis' into web-feat-diataxis
kwennB Aug 5, 2024
82466c7
Resolved feedbacks
kwennB Aug 5, 2024
3ae4cc9
Merge branch 'web-feat-diataxis' of https://github.com/kwennB/website…
kwennB Aug 5, 2024
e87f7cc
Update pages/draft-06/json-schema-release-notes.md
kwennB Aug 19, 2024
c177a50
Update pages/draft/2019-09/release-notes.md
kwennB Aug 19, 2024
aed87d7
Update pages/draft-07/json-schema-release-notes.md
kwennB Aug 19, 2024
5775366
Update pages/migration/index.md
kwennB Aug 19, 2024
bdca8df
Update pages/draft-07/index.md
kwennB Aug 19, 2024
2ce491e
Update pages/migration/index.page.tsx
kwennB Aug 19, 2024
48d999b
Update components/Sidebar.tsx
kwennB Aug 19, 2024
45d38c6
Update pages/release-notes/index.page.tsx
kwennB Aug 19, 2024
cd1ea3a
Update pages/release-notes/index.md
kwennB Aug 19, 2024
aed478c
Update pages/draft-06/index.md
kwennB Aug 19, 2024
783d1d0
Update pages/draft-05/index.md
kwennB Aug 19, 2024
eee932a
modified meta-schema and specification links for all drafts
kwennB Aug 20, 2024
f6212d0
Multiple changes
benjagm Aug 26, 2024
2b9cb35
Updated JSON Hyperschema introductory text
kwennB Aug 26, 2024
9b6779b
updated URL redirects
kwennB Sep 13, 2024
4954a25
Fix date formats, redirects and broken links
benjagm Sep 19, 2024
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
12 changes: 12 additions & 0 deletions pages/draft-06/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,25 @@ export async function getStaticProps() {
'pages/draft-06/json-schema-release-notes.md',
'utf-8',
);
const hyperSchema = fs.readFileSync(
'pages/draft-06/json-hyper-schema-release-notes.md',
'utf-8',
);
const readme = fs.readFileSync('pages/draft-06/readme.md', 'utf-8');

const { content: indexContent, data: indexData } = matter(index);
const { content: bodyContent } = matter(main);
const { content: hyperSchemaContent } = matter(hyperSchema);
const { content: readmeContent } = matter(readme);

const frontmatter = { ...indexData };
return {
props: {
blocks: {
index: indexContent,
body: bodyContent,
hyperSchema: hyperSchemaContent,
readme: readmeContent,
},
frontmatter,
},
Expand All @@ -42,6 +52,8 @@ export default function ImplementationsPages({
<DocTable frontmatter={frontmatter} />
<StyledMarkdown markdown={blocks.index} />
<StyledMarkdown markdown={blocks.body} />
<StyledMarkdown markdown={blocks.hyperSchema} />
<StyledMarkdown markdown={blocks.readme} />
</div>
</SectionContext.Provider>
);
Expand Down
7 changes: 1 addition & 6 deletions pages/draft-06/readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
---
title: Draft-06 Release Notes
section: docs
---

- [JSON Schema Release Notes](/draft-06/json-schema-release-notes)
- [JSON Hyper-Schema Release Notes](/draft-06/json-hyper-schema-release-notes)
- [JSON Hyper-Schema Release Notes](/draft-06/json-hyper-schema-release-notes)
12 changes: 12 additions & 0 deletions pages/draft-07/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,25 @@ export async function getStaticProps() {
'pages/draft-07/json-schema-release-notes.md',
'utf-8',
);
const hyperSchema = fs.readFileSync(
'pages/draft-07/json-hyper-schema-release-notes.md',
'utf-8',
);
const readme = fs.readFileSync('pages/draft-07/readme.md', 'utf-8');

const { content: indexContent, data: indexData } = matter(index);
const { content: bodyContent } = matter(main);
const { content: hyperSchemaContent } = matter(hyperSchema);
const { content: readmeContent } = matter(readme);

const frontmatter = { ...indexData };
return {
props: {
blocks: {
index: indexContent,
body: bodyContent,
hyperSchema: hyperSchemaContent,
readme: readmeContent,
},
frontmatter,
},
Expand All @@ -42,6 +52,8 @@ export default function ImplementationsPages({
<DocTable frontmatter={frontmatter} />
<StyledMarkdown markdown={blocks.index} />
<StyledMarkdown markdown={blocks.body} />
<StyledMarkdown markdown={blocks.hyperSchema} />
<StyledMarkdown markdown={blocks.readme} />
</div>
</SectionContext.Provider>
);
Expand Down
8 changes: 2 additions & 6 deletions pages/draft-07/readme.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
title: Draft-07 Release Notes
section: docs
---
[JSON Schema Release Notes](/draft-07/json-schema-release-notes)

- [JSON Schema Release Notes](/draft-07/json-schema-release-notes)
- [JSON Hyper-Schema Release Notes](/draft-07/json-hyper-schema-release-notes)

Note that the draft-handrews-\*-00 versions of JSON Hyper-Schema and Relative JSON Pointer had confusing bugs, and have been replaced by draft-handrews-\*-01 versions. The -00 versions may be found in the [obsolete](obsolete) directory.
Note that the draft-handrews-\*-00 versions of JSON Hyper-Schema and Relative JSON Pointer had confusing bugs, and have been replaced by draft-handrews-\*-01 versions. The -00 versions may be found in the [obsolete](obsolete) directory.