Skip to content

Commit 1600177

Browse files
feat: add documentation page for page body and root
1 parent e3da910 commit 1600177

File tree

2 files changed

+88
-0
lines changed

2 files changed

+88
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Page Body
3+
hide_title: true
4+
hide_table_of_contents: false
5+
sidebar_label: Page Body
6+
pagination_label: Page Body
7+
description: De hoofdinhoud en eventuele aanvullende informatie.
8+
slug: /page-body
9+
keywords:
10+
- body
11+
- main
12+
---
13+
14+
{/* @license CC0-1.0 */}
15+
16+
import componentProgress from "@nl-design-system/component-progress/dist/index.json";
17+
import {
18+
DefinitionOfDone,
19+
HelpImproveComponent,
20+
Implementations,
21+
Introduction,
22+
Related,
23+
} from "@site/src/components/ComponentPage";
24+
25+
{/* Add name and description for the component */}
26+
export const title = "{naam-component}";
27+
export const description = "{beschrijving-component}";
28+
export const issueNumber = {github-issue-nummer};
29+
30+
export const component = componentProgress.find((item) => item.number === issueNumber);
31+
32+
<Introduction component={component} headingLevel={1} description={description} />
33+
34+
## Definition of Done
35+
36+
<DefinitionOfDone component={component} headingLevel={3} />
37+
38+
## Community implementaties
39+
40+
<Implementations component={component} headingLevel={3} />
41+
42+
<Related component={component} />
43+
44+
<HelpImproveComponent component={component} headingLevel={2} />

docs/componenten/root/index.mdx

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Root
3+
hide_title: true
4+
hide_table_of_contents: false
5+
sidebar_label: Root
6+
pagination_label: Root
7+
description: Onderlaag waarin basiskeuzes worden gemaakt voor alle componenten die in de website zitten.
8+
slug: /root
9+
keywords:
10+
- html
11+
- body
12+
---
13+
14+
{/* @license CC0-1.0 */}
15+
16+
import componentProgress from "@nl-design-system/component-progress/dist/index.json";
17+
import {
18+
DefinitionOfDone,
19+
HelpImproveComponent,
20+
Implementations,
21+
Introduction,
22+
Related,
23+
} from "@site/src/components/ComponentPage";
24+
25+
{/* Add name and description for the component */}
26+
export const title = "{naam-component}";
27+
export const description = "{beschrijving-component}";
28+
export const issueNumber = {github-issue-nummer};
29+
30+
export const component = componentProgress.find((item) => item.number === issueNumber);
31+
32+
<Introduction component={component} headingLevel={1} description={description} />
33+
34+
## Definition of Done
35+
36+
<DefinitionOfDone component={component} headingLevel={3} />
37+
38+
## Community implementaties
39+
40+
<Implementations component={component} headingLevel={3} />
41+
42+
<Related component={component} />
43+
44+
<HelpImproveComponent component={component} headingLevel={2} />

0 commit comments

Comments
 (0)