From 4c7cd13ab3e7507e9ee97af0f902b20ca1126ab0 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 --- docs/_config.yml | 5 +++++ docs/docs/01-why-react.md | 1 - docs/docs/01-why-react.zh-CN.md | 1 - docs/docs/02-displaying-data.md | 1 - docs/docs/02.1-jsx-in-depth.md | 1 - docs/docs/02.2-jsx-gotchas.md | 1 - docs/docs/03-interactivity-and-dynamic-uis.md | 1 - docs/docs/04-multiple-components.md | 1 - docs/docs/05-reusable-components.md | 1 - docs/docs/06-forms.md | 1 - docs/docs/07-working-with-the-browser.md | 1 - docs/docs/07.1-more-about-refs.md | 1 - docs/docs/08-tooling-integration.md | 1 - docs/docs/09-addons.md | 1 - docs/docs/09.1-animation.md | 1 - docs/docs/09.2-form-input-binding-sugar.md | 1 - docs/docs/09.3-class-name-manipulation.md | 1 - docs/docs/09.4-test-utils.md | 1 - docs/docs/09.5-clone-with-props.md | 1 - docs/docs/09.6-update.md | 1 - docs/docs/09.7-pure-render-mixin.md | 1 - docs/docs/09.8-perf.md | 1 - docs/docs/complementary-tools.md | 1 - docs/docs/examples.md | 1 - docs/docs/flux-overview.md | 1 - docs/docs/flux-todo-list.md | 1 - docs/docs/getting-started.md | 1 - docs/docs/getting-started.zh-CN.md | 1 - docs/docs/ref-01-top-level-api.md | 1 - docs/docs/ref-02-component-api.md | 1 - docs/docs/ref-03-component-specs.md | 1 - docs/docs/ref-04-tags-and-attributes.md | 1 - docs/docs/ref-05-events.md | 1 - docs/docs/ref-06-dom-differences.md | 1 - docs/docs/ref-07-special-non-dom-attributes.md | 1 - docs/docs/ref-08-reconciliation.md | 1 - docs/docs/thinking-in-react.md | 1 - docs/docs/tutorial.md | 1 - docs/docs/videos.md | 1 - 39 files changed, 5 insertions(+), 38 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index 56cc1b3110..e05686801f 100644 --- a/docs/_config.yml +++ b/docs/_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/docs/01-why-react.md b/docs/docs/01-why-react.md index 0968b72906..a11b49bd39 100644 --- a/docs/docs/01-why-react.md +++ b/docs/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/docs/01-why-react.zh-CN.md b/docs/docs/01-why-react.zh-CN.md index 44e92ef716..86e033f2bc 100644 --- a/docs/docs/01-why-react.zh-CN.md +++ b/docs/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/docs/02-displaying-data.md b/docs/docs/02-displaying-data.md index 6e9966711b..d101a6d908 100644 --- a/docs/docs/02-displaying-data.md +++ b/docs/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/docs/02.1-jsx-in-depth.md b/docs/docs/02.1-jsx-in-depth.md index 595c0c5fec..14924f746c 100644 --- a/docs/docs/02.1-jsx-in-depth.md +++ b/docs/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/docs/02.2-jsx-gotchas.md b/docs/docs/02.2-jsx-gotchas.md index 21074dd2f2..57280079db 100644 --- a/docs/docs/02.2-jsx-gotchas.md +++ b/docs/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/docs/03-interactivity-and-dynamic-uis.md b/docs/docs/03-interactivity-and-dynamic-uis.md index 754a32943b..d178e4420b 100644 --- a/docs/docs/03-interactivity-and-dynamic-uis.md +++ b/docs/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/docs/04-multiple-components.md b/docs/docs/04-multiple-components.md index 85cefffff6..eb04cfd3f4 100644 --- a/docs/docs/04-multiple-components.md +++ b/docs/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/docs/05-reusable-components.md b/docs/docs/05-reusable-components.md index dae061f425..8de963e4ba 100644 --- a/docs/docs/05-reusable-components.md +++ b/docs/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/docs/06-forms.md b/docs/docs/06-forms.md index 8cea0db813..002d68192b 100644 --- a/docs/docs/06-forms.md +++ b/docs/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/docs/07-working-with-the-browser.md b/docs/docs/07-working-with-the-browser.md index 565d824280..e3780fe6fa 100644 --- a/docs/docs/07-working-with-the-browser.md +++ b/docs/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/docs/07.1-more-about-refs.md b/docs/docs/07.1-more-about-refs.md index fa92805def..fc6c95960d 100644 --- a/docs/docs/07.1-more-about-refs.md +++ b/docs/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/docs/08-tooling-integration.md b/docs/docs/08-tooling-integration.md index 93416d301c..8973df5812 100644 --- a/docs/docs/08-tooling-integration.md +++ b/docs/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/docs/09-addons.md b/docs/docs/09-addons.md index 33aca262a5..1bd3f6f4a4 100644 --- a/docs/docs/09-addons.md +++ b/docs/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/docs/09.1-animation.md b/docs/docs/09.1-animation.md index f310a13f50..17b2e099de 100644 --- a/docs/docs/09.1-animation.md +++ b/docs/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/docs/09.2-form-input-binding-sugar.md b/docs/docs/09.2-form-input-binding-sugar.md index 29317f71dc..d3016ad74c 100644 --- a/docs/docs/09.2-form-input-binding-sugar.md +++ b/docs/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/docs/09.3-class-name-manipulation.md b/docs/docs/09.3-class-name-manipulation.md index ca2e1fdee0..e898646398 100644 --- a/docs/docs/09.3-class-name-manipulation.md +++ b/docs/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/docs/09.4-test-utils.md b/docs/docs/09.4-test-utils.md index ef40cf65d5..0b05d8fcbb 100644 --- a/docs/docs/09.4-test-utils.md +++ b/docs/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/docs/09.5-clone-with-props.md b/docs/docs/09.5-clone-with-props.md index 0d466adf4a..88f9e7b4a7 100644 --- a/docs/docs/09.5-clone-with-props.md +++ b/docs/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/docs/09.6-update.md b/docs/docs/09.6-update.md index 5348f96314..2169ba5c1c 100644 --- a/docs/docs/09.6-update.md +++ b/docs/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/docs/09.7-pure-render-mixin.md b/docs/docs/09.7-pure-render-mixin.md index 5f2f5f8852..06620fa678 100644 --- a/docs/docs/09.7-pure-render-mixin.md +++ b/docs/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/docs/09.8-perf.md b/docs/docs/09.8-perf.md index 74bc71634a..0a460b2d93 100644 --- a/docs/docs/09.8-perf.md +++ b/docs/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/docs/complementary-tools.md b/docs/docs/complementary-tools.md index 6bd66d055e..0d4190c1b8 100644 --- a/docs/docs/complementary-tools.md +++ b/docs/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/docs/examples.md b/docs/docs/examples.md index 82e8d39c99..f539f4f60a 100644 --- a/docs/docs/examples.md +++ b/docs/docs/examples.md @@ -1,7 +1,6 @@ --- id: examples title: Examples -layout: docs permalink: examples.html prev: complementary-tools.html --- diff --git a/docs/docs/flux-overview.md b/docs/docs/flux-overview.md index c93feee34e..9b6482e3a7 100644 --- a/docs/docs/flux-overview.md +++ b/docs/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/docs/flux-todo-list.md b/docs/docs/flux-todo-list.md index 6df4e2fd1b..f79bf7e760 100644 --- a/docs/docs/flux-todo-list.md +++ b/docs/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/docs/getting-started.md b/docs/docs/getting-started.md index 956fb4cf80..57a2002431 100644 --- a/docs/docs/getting-started.md +++ b/docs/docs/getting-started.md @@ -1,7 +1,6 @@ --- id: getting-started title: Getting Started -layout: docs next: tutorial.html --- diff --git a/docs/docs/getting-started.zh-CN.md b/docs/docs/getting-started.zh-CN.md index 2622874a42..a785cd3156 100644 --- a/docs/docs/getting-started.zh-CN.md +++ b/docs/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/docs/ref-01-top-level-api.md b/docs/docs/ref-01-top-level-api.md index 9a215b76ec..c31e9acbed 100644 --- a/docs/docs/ref-01-top-level-api.md +++ b/docs/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/docs/ref-02-component-api.md b/docs/docs/ref-02-component-api.md index f2b5732d1c..41cb101b24 100644 --- a/docs/docs/ref-02-component-api.md +++ b/docs/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/docs/ref-03-component-specs.md b/docs/docs/ref-03-component-specs.md index 4d68915f31..a21fb68a29 100644 --- a/docs/docs/ref-03-component-specs.md +++ b/docs/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/docs/ref-04-tags-and-attributes.md b/docs/docs/ref-04-tags-and-attributes.md index 905c1a954d..f43b05cc3c 100644 --- a/docs/docs/ref-04-tags-and-attributes.md +++ b/docs/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/docs/ref-05-events.md b/docs/docs/ref-05-events.md index 84a7abfb59..f331d01080 100644 --- a/docs/docs/ref-05-events.md +++ b/docs/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/docs/ref-06-dom-differences.md b/docs/docs/ref-06-dom-differences.md index dcae0f872e..ceeeac9bbf 100644 --- a/docs/docs/ref-06-dom-differences.md +++ b/docs/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/docs/ref-07-special-non-dom-attributes.md b/docs/docs/ref-07-special-non-dom-attributes.md index ae0b5e7c6a..38e3ce8ea4 100644 --- a/docs/docs/ref-07-special-non-dom-attributes.md +++ b/docs/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/docs/ref-08-reconciliation.md b/docs/docs/ref-08-reconciliation.md index 56c9436878..7332103dfb 100644 --- a/docs/docs/ref-08-reconciliation.md +++ b/docs/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/docs/thinking-in-react.md b/docs/docs/thinking-in-react.md index c8f1ac1656..67aa06b069 100644 --- a/docs/docs/thinking-in-react.md +++ b/docs/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/docs/tutorial.md b/docs/docs/tutorial.md index fb826c1f0b..6b771aebab 100644 --- a/docs/docs/tutorial.md +++ b/docs/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/docs/videos.md b/docs/docs/videos.md index d9b8a3abf4..488b8030c0 100644 --- a/docs/docs/videos.md +++ b/docs/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