diff --git a/_config.yml b/_config.yml index 56cc1b311..e05686801 100644 --- a/_config.yml +++ b/_config.yml @@ -15,6 +15,11 @@ defaults: type: post values: layout: post +- scope: + path: docs + type: page + values: + layout: docs exclude: - Gemfile - Gemfile.lock diff --git a/docs/01-why-react.md b/docs/01-why-react.md index 0968b7290..a11b49bd3 100644 --- a/docs/01-why-react.md +++ b/docs/01-why-react.md @@ -1,7 +1,6 @@ --- id: why-react title: Why React? -layout: docs permalink: why-react.html next: displaying-data.html --- diff --git a/docs/01-why-react.zh-CN.md b/docs/01-why-react.zh-CN.md index 44e92ef71..86e033f2b 100644 --- a/docs/01-why-react.zh-CN.md +++ b/docs/01-why-react.zh-CN.md @@ -1,7 +1,6 @@ --- id: why-react-zh-CN title: 为什么使用 React? -layout: docs permalink: why-react-zh-CN.html next: displaying-data.html --- diff --git a/docs/02-displaying-data.md b/docs/02-displaying-data.md index 6e9966711..d101a6d90 100644 --- a/docs/02-displaying-data.md +++ b/docs/02-displaying-data.md @@ -1,7 +1,6 @@ --- id: displaying-data title: Displaying Data -layout: docs permalink: displaying-data.html prev: why-react.html next: jsx-in-depth.html diff --git a/docs/02.1-jsx-in-depth.md b/docs/02.1-jsx-in-depth.md index 595c0c5fe..14924f746 100644 --- a/docs/02.1-jsx-in-depth.md +++ b/docs/02.1-jsx-in-depth.md @@ -1,7 +1,6 @@ --- id: jsx-in-depth title: JSX in Depth -layout: docs permalink: jsx-in-depth.html prev: displaying-data.html next: jsx-gotchas.html diff --git a/docs/02.2-jsx-gotchas.md b/docs/02.2-jsx-gotchas.md index 21074dd2f..57280079d 100644 --- a/docs/02.2-jsx-gotchas.md +++ b/docs/02.2-jsx-gotchas.md @@ -1,7 +1,6 @@ --- id: jsx-gotchas title: JSX Gotchas -layout: docs permalink: jsx-gotchas.html prev: jsx-in-depth.html next: interactivity-and-dynamic-uis.html diff --git a/docs/03-interactivity-and-dynamic-uis.md b/docs/03-interactivity-and-dynamic-uis.md index 754a32943..d178e4420 100644 --- a/docs/03-interactivity-and-dynamic-uis.md +++ b/docs/03-interactivity-and-dynamic-uis.md @@ -1,7 +1,6 @@ --- id: interactivity-and-dynamic-uis title: Interactivity and Dynamic UIs -layout: docs permalink: interactivity-and-dynamic-uis.html prev: jsx-gotchas.html next: multiple-components.html diff --git a/docs/04-multiple-components.md b/docs/04-multiple-components.md index 85cefffff..eb04cfd3f 100644 --- a/docs/04-multiple-components.md +++ b/docs/04-multiple-components.md @@ -1,7 +1,6 @@ --- id: multiple-components title: Multiple Components -layout: docs permalink: multiple-components.html prev: interactivity-and-dynamic-uis.html next: reusable-components.html diff --git a/docs/05-reusable-components.md b/docs/05-reusable-components.md index dae061f42..8de963e4b 100644 --- a/docs/05-reusable-components.md +++ b/docs/05-reusable-components.md @@ -1,7 +1,6 @@ --- id: reusable-components title: Reusable Components -layout: docs permalink: reusable-components.html prev: multiple-components.html next: forms.html diff --git a/docs/06-forms.md b/docs/06-forms.md index 8cea0db81..002d68192 100644 --- a/docs/06-forms.md +++ b/docs/06-forms.md @@ -1,7 +1,6 @@ --- id: forms title: Forms -layout: docs permalink: forms.html prev: reusable-components.html next: working-with-the-browser.html diff --git a/docs/07-working-with-the-browser.md b/docs/07-working-with-the-browser.md index 565d82428..e3780fe6f 100644 --- a/docs/07-working-with-the-browser.md +++ b/docs/07-working-with-the-browser.md @@ -1,7 +1,6 @@ --- id: working-with-the-browser title: Working With the Browser -layout: docs permalink: working-with-the-browser.html prev: forms.html next: more-about-refs.html diff --git a/docs/07.1-more-about-refs.md b/docs/07.1-more-about-refs.md index fa92805de..fc6c95960 100644 --- a/docs/07.1-more-about-refs.md +++ b/docs/07.1-more-about-refs.md @@ -1,7 +1,6 @@ --- id: more-about-refs title: More About Refs -layout: docs permalink: more-about-refs.html prev: working-with-the-browser.html next: tooling-integration.html diff --git a/docs/08-tooling-integration.md b/docs/08-tooling-integration.md index 93416d301..8973df581 100644 --- a/docs/08-tooling-integration.md +++ b/docs/08-tooling-integration.md @@ -1,7 +1,6 @@ --- id: tooling-integration title: Tooling Integration -layout: docs permalink: tooling-integration.html prev: more-about-refs.html next: addons.html diff --git a/docs/09-addons.md b/docs/09-addons.md index 33aca262a..1bd3f6f4a 100644 --- a/docs/09-addons.md +++ b/docs/09-addons.md @@ -1,7 +1,6 @@ --- id: addons title: Add-ons -layout: docs permalink: addons.html prev: tooling-integration.html next: animation.html diff --git a/docs/09.1-animation.md b/docs/09.1-animation.md index f310a13f5..17b2e099d 100644 --- a/docs/09.1-animation.md +++ b/docs/09.1-animation.md @@ -1,7 +1,6 @@ --- id: animation title: Animation -layout: docs permalink: animation.html prev: addons.html next: two-way-binding-helpers.html diff --git a/docs/09.2-form-input-binding-sugar.md b/docs/09.2-form-input-binding-sugar.md index 29317f71d..d3016ad74 100644 --- a/docs/09.2-form-input-binding-sugar.md +++ b/docs/09.2-form-input-binding-sugar.md @@ -1,7 +1,6 @@ --- id: two-way-binding-helpers title: Two-Way Binding Helpers -layout: docs permalink: two-way-binding-helpers.html prev: animation.html next: class-name-manipulation.html diff --git a/docs/09.3-class-name-manipulation.md b/docs/09.3-class-name-manipulation.md index ca2e1fdee..e89864639 100644 --- a/docs/09.3-class-name-manipulation.md +++ b/docs/09.3-class-name-manipulation.md @@ -1,7 +1,6 @@ --- id: class-name-manipulation title: Class Name Manipulation -layout: docs permalink: class-name-manipulation.html prev: two-way-binding-helpers.html next: test-utils.html diff --git a/docs/09.4-test-utils.md b/docs/09.4-test-utils.md index ef40cf65d..0b05d8fcb 100644 --- a/docs/09.4-test-utils.md +++ b/docs/09.4-test-utils.md @@ -1,7 +1,6 @@ --- id: test-utils title: Test Utilities -layout: docs permalink: test-utils.html prev: class-name-manipulation.html next: clone-with-props.html diff --git a/docs/09.5-clone-with-props.md b/docs/09.5-clone-with-props.md index 0d466adf4..88f9e7b4a 100644 --- a/docs/09.5-clone-with-props.md +++ b/docs/09.5-clone-with-props.md @@ -1,7 +1,6 @@ --- id: clone-with-props title: Cloning Components -layout: docs permalink: clone-with-props.html prev: test-utils.html next: update.html diff --git a/docs/09.6-update.md b/docs/09.6-update.md index 5348f9631..2169ba5c1 100644 --- a/docs/09.6-update.md +++ b/docs/09.6-update.md @@ -1,7 +1,6 @@ --- id: update title: Immutability Helpers -layout: docs permalink: update.html prev: clone-with-props.html next: pure-render-mixin.html diff --git a/docs/09.7-pure-render-mixin.md b/docs/09.7-pure-render-mixin.md index 5f2f5f885..06620fa67 100644 --- a/docs/09.7-pure-render-mixin.md +++ b/docs/09.7-pure-render-mixin.md @@ -1,7 +1,6 @@ --- id: pure-render-mixin title: PureRenderMixin -layout: docs permalink: pure-render-mixin.html prev: update.html next: perf.html diff --git a/docs/09.8-perf.md b/docs/09.8-perf.md index 74bc71634..0a460b2d9 100644 --- a/docs/09.8-perf.md +++ b/docs/09.8-perf.md @@ -1,7 +1,6 @@ --- id: perf title: Performance Tools -layout: docs permalink: perf.html prev: pure-render-mixin.html --- diff --git a/docs/complementary-tools.md b/docs/complementary-tools.md index 6bd66d055..0d4190c1b 100644 --- a/docs/complementary-tools.md +++ b/docs/complementary-tools.md @@ -1,7 +1,6 @@ --- id: complementary-tools title: Complementary Tools -layout: docs permalink: complementary-tools.html prev: videos.html next: examples.html diff --git a/docs/examples.md b/docs/examples.md index 82e8d39c9..f539f4f60 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -1,7 +1,6 @@ --- id: examples title: Examples -layout: docs permalink: examples.html prev: complementary-tools.html --- diff --git a/docs/flux-overview.md b/docs/flux-overview.md index c93feee34..9b6482e3a 100644 --- a/docs/flux-overview.md +++ b/docs/flux-overview.md @@ -1,7 +1,6 @@ --- id: flux-overview title: Flux Application Architecture -layout: docs next: flux-todo-list.html --- diff --git a/docs/flux-todo-list.md b/docs/flux-todo-list.md index 6df4e2fd1..f79bf7e76 100644 --- a/docs/flux-todo-list.md +++ b/docs/flux-todo-list.md @@ -1,7 +1,6 @@ --- id: flux-todo-list title: Flux TodoMVC Tutorial -layout: docs prev: flux-overview.html --- diff --git a/docs/getting-started.md b/docs/getting-started.md index 956fb4cf8..57a200243 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -1,7 +1,6 @@ --- id: getting-started title: Getting Started -layout: docs next: tutorial.html --- diff --git a/docs/getting-started.zh-CN.md b/docs/getting-started.zh-CN.md index 2622874a4..a785cd315 100644 --- a/docs/getting-started.zh-CN.md +++ b/docs/getting-started.zh-CN.md @@ -1,7 +1,6 @@ --- id: getting-started-zh-CN title: 入门教程 -layout: docs next: tutorial.html --- diff --git a/docs/ref-01-top-level-api.md b/docs/ref-01-top-level-api.md index 9a215b76e..c31e9acbe 100644 --- a/docs/ref-01-top-level-api.md +++ b/docs/ref-01-top-level-api.md @@ -1,7 +1,6 @@ --- id: top-level-api title: Top-Level API -layout: docs permalink: top-level-api.html next: component-api.html --- diff --git a/docs/ref-02-component-api.md b/docs/ref-02-component-api.md index f2b5732d1..41cb101b2 100644 --- a/docs/ref-02-component-api.md +++ b/docs/ref-02-component-api.md @@ -1,7 +1,6 @@ --- id: component-api title: Component API -layout: docs permalink: component-api.html prev: top-level-api.html next: component-specs.html diff --git a/docs/ref-03-component-specs.md b/docs/ref-03-component-specs.md index 4d68915f3..a21fb68a2 100644 --- a/docs/ref-03-component-specs.md +++ b/docs/ref-03-component-specs.md @@ -1,7 +1,6 @@ --- id: component-specs title: Component Specs and Lifecycle -layout: docs permalink: component-specs.html prev: component-api.html next: tags-and-attributes.html diff --git a/docs/ref-04-tags-and-attributes.md b/docs/ref-04-tags-and-attributes.md index 905c1a954..f43b05cc3 100644 --- a/docs/ref-04-tags-and-attributes.md +++ b/docs/ref-04-tags-and-attributes.md @@ -1,7 +1,6 @@ --- id: tags-and-attributes title: Tags and Attributes -layout: docs permalink: tags-and-attributes.html prev: component-specs.html next: events.html diff --git a/docs/ref-05-events.md b/docs/ref-05-events.md index 84a7abfb5..f331d0108 100644 --- a/docs/ref-05-events.md +++ b/docs/ref-05-events.md @@ -1,7 +1,6 @@ --- id: events title: Event System -layout: docs permalink: events.html prev: tags-and-attributes.html next: dom-differences.html diff --git a/docs/ref-06-dom-differences.md b/docs/ref-06-dom-differences.md index dcae0f872..ceeeac9bb 100644 --- a/docs/ref-06-dom-differences.md +++ b/docs/ref-06-dom-differences.md @@ -1,7 +1,6 @@ --- id: dom-differences title: DOM Differences -layout: docs permalink: dom-differences.html prev: events.html next: special-non-dom-attributes.html diff --git a/docs/ref-07-special-non-dom-attributes.md b/docs/ref-07-special-non-dom-attributes.md index ae0b5e7c6..38e3ce8ea 100644 --- a/docs/ref-07-special-non-dom-attributes.md +++ b/docs/ref-07-special-non-dom-attributes.md @@ -1,7 +1,6 @@ --- id: special-non-dom-attributes title: Special Non-DOM Attributes -layout: docs permalink: special-non-dom-attributes.html prev: dom-differences.html next: reconciliation.html diff --git a/docs/ref-08-reconciliation.md b/docs/ref-08-reconciliation.md index 56c943687..7332103df 100644 --- a/docs/ref-08-reconciliation.md +++ b/docs/ref-08-reconciliation.md @@ -1,7 +1,6 @@ --- id: reconciliation title: Reconciliation -layout: docs permalink: reconciliation.html prev: special-non-dom-attributes.html --- diff --git a/docs/thinking-in-react.md b/docs/thinking-in-react.md index c8f1ac165..67aa06b06 100644 --- a/docs/thinking-in-react.md +++ b/docs/thinking-in-react.md @@ -1,7 +1,6 @@ --- id: thinking-in-react title: Thinking in React -layout: docs prev: tutorial.html next: videos.html --- diff --git a/docs/tutorial.md b/docs/tutorial.md index fb826c1f0..6b771aeba 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -1,7 +1,6 @@ --- id: tutorial title: Tutorial -layout: docs prev: getting-started.html next: thinking-in-react.html --- diff --git a/docs/videos.md b/docs/videos.md index d9b8a3abf..488b8030c 100644 --- a/docs/videos.md +++ b/docs/videos.md @@ -1,7 +1,6 @@ --- id: videos title: Videos -layout: docs permalink: videos.html prev: thinking-in-react.html next: complementary-tools.html