Skip to content

Commit 5da6892

Browse files
authored
chore: Normalize markdown content files (#1263)
* chore: Refactor all markdown frontmatter for consistency * chore: Bare <toc> in markdown files * refactor: Move tutorial start translation into config * chore: Types galore * refactor: Table of contents component * fix: More explicit conditional for tutorial next button * refactor: Require all content files include YAML frontmatter
1 parent c03edd6 commit 5da6892

File tree

302 files changed

+588
-626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+588
-626
lines changed

content/de/404.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Not Found
3+
---
4+
15
# Error
26

37
Oh, diese Seite gibt es wohl nicht mehr.

content/de/about/browser-support.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
name: Browserunterstützung
3-
permalink: '/about/browser-support'
2+
title: Browserunterstützung
43
---
54

65
# Browserunterstützung

content/de/about/demos-examples.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
name: Demos & Beispiele
3-
permalink: '/about/demos-examples'
2+
title: Demos & Beispiele
43
---
54

65
# Demos & Beispiele

content/de/about/libraries-addons.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
name: Bibliotheken & Add-ons
3-
permalink: '/about/addons-libraries'
2+
title: Bibliotheken & Add-ons
43
---
54

65
# Bibliotheken & Add-ons

content/de/about/project-goals.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
name: Projektziele
3-
permalink: '/about/project-goals'
2+
title: Projektziele
43
---
54

65
# Preacts Ziele

content/de/about/we-are-using.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
2-
name: We Are Using
32
title: Wer benutzt Preact?
4-
permalink: '/about/we-are-using'
53
---
64

75
# We Are Using

content/de/guide/v8/api-reference.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
name: API-Referenzierung
3-
permalink: '/guide/api-reference'
2+
title: API-Referenzierung
43
---
54

65
# API-Referenzierung
76

87
---
98

10-
<div><toc></toc></div>
9+
<toc></toc>
1110

1211
---
1312

content/de/guide/v8/differences-to-react.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
name: Unterschiede zu React
3-
permalink: '/guide/differences-to-react'
2+
title: Unterschiede zu React
43
---
54

65
# Unterschiede zu React
@@ -11,7 +10,7 @@ Preact ist nicht darauf ausgelegt, jede einzelne Funktion von React zu übernehm
1110

1211
---
1312

14-
<div><toc></toc></div>
13+
<toc></toc>
1514

1615
---
1716

content/de/guide/v8/extending-component.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
2-
name: Kompontente erweitern
3-
permalink: '/guide/extending-component'
2+
title: Kompontente erweitern
43
---
54

65
# Komponente erweitern

content/de/guide/v8/external-dom-mutations.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
name: Externe DOM-Mutationen
3-
permalink: '/guide/external-dom-mutations'
2+
title: Externe DOM-Mutationen
43
---
54

65
# Externe DOM-Mutationen
76

87
---
98

10-
<div><toc></toc></div>
9+
<toc></toc>
1110

1211
---
1312

0 commit comments

Comments
 (0)