Skip to content

Commit 4c7cd13

Browse files
committed
Set default layout for docs
1 parent 03df215 commit 4c7cd13

39 files changed

+5
-38
lines changed

docs/_config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ defaults:
1515
type: post
1616
values:
1717
layout: post
18+
- scope:
19+
path: docs
20+
type: page
21+
values:
22+
layout: docs
1823
exclude:
1924
- Gemfile
2025
- Gemfile.lock

docs/docs/01-why-react.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: why-react
33
title: Why React?
4-
layout: docs
54
permalink: why-react.html
65
next: displaying-data.html
76
---

docs/docs/01-why-react.zh-CN.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: why-react-zh-CN
33
title: 为什么使用 React?
4-
layout: docs
54
permalink: why-react-zh-CN.html
65
next: displaying-data.html
76
---

docs/docs/02-displaying-data.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: displaying-data
33
title: Displaying Data
4-
layout: docs
54
permalink: displaying-data.html
65
prev: why-react.html
76
next: jsx-in-depth.html

docs/docs/02.1-jsx-in-depth.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: jsx-in-depth
33
title: JSX in Depth
4-
layout: docs
54
permalink: jsx-in-depth.html
65
prev: displaying-data.html
76
next: jsx-gotchas.html

docs/docs/02.2-jsx-gotchas.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: jsx-gotchas
33
title: JSX Gotchas
4-
layout: docs
54
permalink: jsx-gotchas.html
65
prev: jsx-in-depth.html
76
next: interactivity-and-dynamic-uis.html

docs/docs/03-interactivity-and-dynamic-uis.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: interactivity-and-dynamic-uis
33
title: Interactivity and Dynamic UIs
4-
layout: docs
54
permalink: interactivity-and-dynamic-uis.html
65
prev: jsx-gotchas.html
76
next: multiple-components.html

docs/docs/04-multiple-components.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: multiple-components
33
title: Multiple Components
4-
layout: docs
54
permalink: multiple-components.html
65
prev: interactivity-and-dynamic-uis.html
76
next: reusable-components.html

docs/docs/05-reusable-components.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: reusable-components
33
title: Reusable Components
4-
layout: docs
54
permalink: reusable-components.html
65
prev: multiple-components.html
76
next: forms.html

docs/docs/06-forms.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
id: forms
33
title: Forms
4-
layout: docs
54
permalink: forms.html
65
prev: reusable-components.html
76
next: working-with-the-browser.html

0 commit comments

Comments
 (0)