From 2865e4a1c8b987b6d3295ec10fe5592964729085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 13 Aug 2014 11:40:14 -0700 Subject: [PATCH] Set default layout for docs --- _config.yml | 5 +++++ docs/01-why-react.md | 1 - docs/01-why-react.zh-CN.md | 1 - docs/02-displaying-data.md | 1 - docs/02.1-jsx-in-depth.md | 1 - docs/02.2-jsx-gotchas.md | 1 - docs/03-interactivity-and-dynamic-uis.md | 1 - docs/04-multiple-components.md | 1 - docs/05-reusable-components.md | 1 - docs/06-forms.md | 1 - docs/07-working-with-the-browser.md | 1 - docs/07.1-more-about-refs.md | 1 - docs/08-tooling-integration.md | 1 - docs/09-addons.md | 1 - docs/09.1-animation.md | 1 - docs/09.2-form-input-binding-sugar.md | 1 - docs/09.3-class-name-manipulation.md | 1 - docs/09.4-test-utils.md | 1 - docs/09.5-clone-with-props.md | 1 - docs/09.6-update.md | 1 - docs/09.7-pure-render-mixin.md | 1 - docs/09.8-perf.md | 1 - docs/complementary-tools.md | 1 - docs/examples.md | 1 - docs/flux-overview.md | 1 - docs/flux-todo-list.md | 1 - docs/getting-started.md | 1 - docs/getting-started.zh-CN.md | 1 - docs/ref-01-top-level-api.md | 1 - docs/ref-02-component-api.md | 1 - docs/ref-03-component-specs.md | 1 - docs/ref-04-tags-and-attributes.md | 1 - docs/ref-05-events.md | 1 - docs/ref-06-dom-differences.md | 1 - docs/ref-07-special-non-dom-attributes.md | 1 - docs/ref-08-reconciliation.md | 1 - docs/thinking-in-react.md | 1 - docs/tutorial.md | 1 - docs/videos.md | 1 - 39 files changed, 5 insertions(+), 38 deletions(-) diff --git a/_config.yml b/_config.yml index 56cc1b31..e0568680 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 0968b729..a11b49bd 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 44e92ef7..86e033f2 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 6e996671..d101a6d9 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 595c0c5f..14924f74 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 21074dd2..57280079 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 754a3294..d178e442 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 85ceffff..eb04cfd3 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 dae061f4..8de963e4 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 8cea0db8..002d6819 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 565d8242..e3780fe6 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 fa92805d..fc6c9596 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 93416d30..8973df58 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 33aca262..1bd3f6f4 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 f310a13f..17b2e099 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 29317f71..d3016ad7 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 ca2e1fde..e8986463 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 ef40cf65..0b05d8fc 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 0d466adf..88f9e7b4 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 5348f963..2169ba5c 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 5f2f5f88..06620fa6 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 74bc7163..0a460b2d 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 6bd66d05..0d4190c1 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 82e8d39c..f539f4f6 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 c93feee3..9b6482e3 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 6df4e2fd..f79bf7e7 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 956fb4cf..57a20024 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 2622874a..a785cd31 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 9a215b76..c31e9acb 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 f2b5732d..41cb101b 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 4d68915f..a21fb68a 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 905c1a95..f43b05cc 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 84a7abfb..f331d010 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 dcae0f87..ceeeac9b 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 ae0b5e7c..38e3ce8e 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 56c94368..7332103d 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 c8f1ac16..67aa06b0 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 fb826c1f..6b771aeb 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 d9b8a3ab..488b8030 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