mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Set default layout for docs
This commit is contained in:
@@ -15,6 +15,11 @@ defaults:
|
|||||||
type: post
|
type: post
|
||||||
values:
|
values:
|
||||||
layout: post
|
layout: post
|
||||||
|
- scope:
|
||||||
|
path: docs
|
||||||
|
type: page
|
||||||
|
values:
|
||||||
|
layout: docs
|
||||||
exclude:
|
exclude:
|
||||||
- Gemfile
|
- Gemfile
|
||||||
- Gemfile.lock
|
- Gemfile.lock
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: why-react
|
id: why-react
|
||||||
title: Why React?
|
title: Why React?
|
||||||
layout: docs
|
|
||||||
permalink: why-react.html
|
permalink: why-react.html
|
||||||
next: displaying-data.html
|
next: displaying-data.html
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: why-react-zh-CN
|
id: why-react-zh-CN
|
||||||
title: 为什么使用 React?
|
title: 为什么使用 React?
|
||||||
layout: docs
|
|
||||||
permalink: why-react-zh-CN.html
|
permalink: why-react-zh-CN.html
|
||||||
next: displaying-data.html
|
next: displaying-data.html
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: displaying-data
|
id: displaying-data
|
||||||
title: Displaying Data
|
title: Displaying Data
|
||||||
layout: docs
|
|
||||||
permalink: displaying-data.html
|
permalink: displaying-data.html
|
||||||
prev: why-react.html
|
prev: why-react.html
|
||||||
next: jsx-in-depth.html
|
next: jsx-in-depth.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: jsx-in-depth
|
id: jsx-in-depth
|
||||||
title: JSX in Depth
|
title: JSX in Depth
|
||||||
layout: docs
|
|
||||||
permalink: jsx-in-depth.html
|
permalink: jsx-in-depth.html
|
||||||
prev: displaying-data.html
|
prev: displaying-data.html
|
||||||
next: jsx-gotchas.html
|
next: jsx-gotchas.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: jsx-gotchas
|
id: jsx-gotchas
|
||||||
title: JSX Gotchas
|
title: JSX Gotchas
|
||||||
layout: docs
|
|
||||||
permalink: jsx-gotchas.html
|
permalink: jsx-gotchas.html
|
||||||
prev: jsx-in-depth.html
|
prev: jsx-in-depth.html
|
||||||
next: interactivity-and-dynamic-uis.html
|
next: interactivity-and-dynamic-uis.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: interactivity-and-dynamic-uis
|
id: interactivity-and-dynamic-uis
|
||||||
title: Interactivity and Dynamic UIs
|
title: Interactivity and Dynamic UIs
|
||||||
layout: docs
|
|
||||||
permalink: interactivity-and-dynamic-uis.html
|
permalink: interactivity-and-dynamic-uis.html
|
||||||
prev: jsx-gotchas.html
|
prev: jsx-gotchas.html
|
||||||
next: multiple-components.html
|
next: multiple-components.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: multiple-components
|
id: multiple-components
|
||||||
title: Multiple Components
|
title: Multiple Components
|
||||||
layout: docs
|
|
||||||
permalink: multiple-components.html
|
permalink: multiple-components.html
|
||||||
prev: interactivity-and-dynamic-uis.html
|
prev: interactivity-and-dynamic-uis.html
|
||||||
next: reusable-components.html
|
next: reusable-components.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: reusable-components
|
id: reusable-components
|
||||||
title: Reusable Components
|
title: Reusable Components
|
||||||
layout: docs
|
|
||||||
permalink: reusable-components.html
|
permalink: reusable-components.html
|
||||||
prev: multiple-components.html
|
prev: multiple-components.html
|
||||||
next: forms.html
|
next: forms.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: forms
|
id: forms
|
||||||
title: Forms
|
title: Forms
|
||||||
layout: docs
|
|
||||||
permalink: forms.html
|
permalink: forms.html
|
||||||
prev: reusable-components.html
|
prev: reusable-components.html
|
||||||
next: working-with-the-browser.html
|
next: working-with-the-browser.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: working-with-the-browser
|
id: working-with-the-browser
|
||||||
title: Working With the Browser
|
title: Working With the Browser
|
||||||
layout: docs
|
|
||||||
permalink: working-with-the-browser.html
|
permalink: working-with-the-browser.html
|
||||||
prev: forms.html
|
prev: forms.html
|
||||||
next: more-about-refs.html
|
next: more-about-refs.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: more-about-refs
|
id: more-about-refs
|
||||||
title: More About Refs
|
title: More About Refs
|
||||||
layout: docs
|
|
||||||
permalink: more-about-refs.html
|
permalink: more-about-refs.html
|
||||||
prev: working-with-the-browser.html
|
prev: working-with-the-browser.html
|
||||||
next: tooling-integration.html
|
next: tooling-integration.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: tooling-integration
|
id: tooling-integration
|
||||||
title: Tooling Integration
|
title: Tooling Integration
|
||||||
layout: docs
|
|
||||||
permalink: tooling-integration.html
|
permalink: tooling-integration.html
|
||||||
prev: more-about-refs.html
|
prev: more-about-refs.html
|
||||||
next: addons.html
|
next: addons.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: addons
|
id: addons
|
||||||
title: Add-ons
|
title: Add-ons
|
||||||
layout: docs
|
|
||||||
permalink: addons.html
|
permalink: addons.html
|
||||||
prev: tooling-integration.html
|
prev: tooling-integration.html
|
||||||
next: animation.html
|
next: animation.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: animation
|
id: animation
|
||||||
title: Animation
|
title: Animation
|
||||||
layout: docs
|
|
||||||
permalink: animation.html
|
permalink: animation.html
|
||||||
prev: addons.html
|
prev: addons.html
|
||||||
next: two-way-binding-helpers.html
|
next: two-way-binding-helpers.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: two-way-binding-helpers
|
id: two-way-binding-helpers
|
||||||
title: Two-Way Binding Helpers
|
title: Two-Way Binding Helpers
|
||||||
layout: docs
|
|
||||||
permalink: two-way-binding-helpers.html
|
permalink: two-way-binding-helpers.html
|
||||||
prev: animation.html
|
prev: animation.html
|
||||||
next: class-name-manipulation.html
|
next: class-name-manipulation.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: class-name-manipulation
|
id: class-name-manipulation
|
||||||
title: Class Name Manipulation
|
title: Class Name Manipulation
|
||||||
layout: docs
|
|
||||||
permalink: class-name-manipulation.html
|
permalink: class-name-manipulation.html
|
||||||
prev: two-way-binding-helpers.html
|
prev: two-way-binding-helpers.html
|
||||||
next: test-utils.html
|
next: test-utils.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: test-utils
|
id: test-utils
|
||||||
title: Test Utilities
|
title: Test Utilities
|
||||||
layout: docs
|
|
||||||
permalink: test-utils.html
|
permalink: test-utils.html
|
||||||
prev: class-name-manipulation.html
|
prev: class-name-manipulation.html
|
||||||
next: clone-with-props.html
|
next: clone-with-props.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: clone-with-props
|
id: clone-with-props
|
||||||
title: Cloning Components
|
title: Cloning Components
|
||||||
layout: docs
|
|
||||||
permalink: clone-with-props.html
|
permalink: clone-with-props.html
|
||||||
prev: test-utils.html
|
prev: test-utils.html
|
||||||
next: update.html
|
next: update.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: update
|
id: update
|
||||||
title: Immutability Helpers
|
title: Immutability Helpers
|
||||||
layout: docs
|
|
||||||
permalink: update.html
|
permalink: update.html
|
||||||
prev: clone-with-props.html
|
prev: clone-with-props.html
|
||||||
next: pure-render-mixin.html
|
next: pure-render-mixin.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: pure-render-mixin
|
id: pure-render-mixin
|
||||||
title: PureRenderMixin
|
title: PureRenderMixin
|
||||||
layout: docs
|
|
||||||
permalink: pure-render-mixin.html
|
permalink: pure-render-mixin.html
|
||||||
prev: update.html
|
prev: update.html
|
||||||
next: perf.html
|
next: perf.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: perf
|
id: perf
|
||||||
title: Performance Tools
|
title: Performance Tools
|
||||||
layout: docs
|
|
||||||
permalink: perf.html
|
permalink: perf.html
|
||||||
prev: pure-render-mixin.html
|
prev: pure-render-mixin.html
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: complementary-tools
|
id: complementary-tools
|
||||||
title: Complementary Tools
|
title: Complementary Tools
|
||||||
layout: docs
|
|
||||||
permalink: complementary-tools.html
|
permalink: complementary-tools.html
|
||||||
prev: videos.html
|
prev: videos.html
|
||||||
next: examples.html
|
next: examples.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: examples
|
id: examples
|
||||||
title: Examples
|
title: Examples
|
||||||
layout: docs
|
|
||||||
permalink: examples.html
|
permalink: examples.html
|
||||||
prev: complementary-tools.html
|
prev: complementary-tools.html
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: flux-overview
|
id: flux-overview
|
||||||
title: Flux Application Architecture
|
title: Flux Application Architecture
|
||||||
layout: docs
|
|
||||||
next: flux-todo-list.html
|
next: flux-todo-list.html
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: flux-todo-list
|
id: flux-todo-list
|
||||||
title: Flux TodoMVC Tutorial
|
title: Flux TodoMVC Tutorial
|
||||||
layout: docs
|
|
||||||
prev: flux-overview.html
|
prev: flux-overview.html
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: getting-started
|
id: getting-started
|
||||||
title: Getting Started
|
title: Getting Started
|
||||||
layout: docs
|
|
||||||
next: tutorial.html
|
next: tutorial.html
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: getting-started-zh-CN
|
id: getting-started-zh-CN
|
||||||
title: 入门教程
|
title: 入门教程
|
||||||
layout: docs
|
|
||||||
next: tutorial.html
|
next: tutorial.html
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: top-level-api
|
id: top-level-api
|
||||||
title: Top-Level API
|
title: Top-Level API
|
||||||
layout: docs
|
|
||||||
permalink: top-level-api.html
|
permalink: top-level-api.html
|
||||||
next: component-api.html
|
next: component-api.html
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: component-api
|
id: component-api
|
||||||
title: Component API
|
title: Component API
|
||||||
layout: docs
|
|
||||||
permalink: component-api.html
|
permalink: component-api.html
|
||||||
prev: top-level-api.html
|
prev: top-level-api.html
|
||||||
next: component-specs.html
|
next: component-specs.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: component-specs
|
id: component-specs
|
||||||
title: Component Specs and Lifecycle
|
title: Component Specs and Lifecycle
|
||||||
layout: docs
|
|
||||||
permalink: component-specs.html
|
permalink: component-specs.html
|
||||||
prev: component-api.html
|
prev: component-api.html
|
||||||
next: tags-and-attributes.html
|
next: tags-and-attributes.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: tags-and-attributes
|
id: tags-and-attributes
|
||||||
title: Tags and Attributes
|
title: Tags and Attributes
|
||||||
layout: docs
|
|
||||||
permalink: tags-and-attributes.html
|
permalink: tags-and-attributes.html
|
||||||
prev: component-specs.html
|
prev: component-specs.html
|
||||||
next: events.html
|
next: events.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: events
|
id: events
|
||||||
title: Event System
|
title: Event System
|
||||||
layout: docs
|
|
||||||
permalink: events.html
|
permalink: events.html
|
||||||
prev: tags-and-attributes.html
|
prev: tags-and-attributes.html
|
||||||
next: dom-differences.html
|
next: dom-differences.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: dom-differences
|
id: dom-differences
|
||||||
title: DOM Differences
|
title: DOM Differences
|
||||||
layout: docs
|
|
||||||
permalink: dom-differences.html
|
permalink: dom-differences.html
|
||||||
prev: events.html
|
prev: events.html
|
||||||
next: special-non-dom-attributes.html
|
next: special-non-dom-attributes.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: special-non-dom-attributes
|
id: special-non-dom-attributes
|
||||||
title: Special Non-DOM Attributes
|
title: Special Non-DOM Attributes
|
||||||
layout: docs
|
|
||||||
permalink: special-non-dom-attributes.html
|
permalink: special-non-dom-attributes.html
|
||||||
prev: dom-differences.html
|
prev: dom-differences.html
|
||||||
next: reconciliation.html
|
next: reconciliation.html
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: reconciliation
|
id: reconciliation
|
||||||
title: Reconciliation
|
title: Reconciliation
|
||||||
layout: docs
|
|
||||||
permalink: reconciliation.html
|
permalink: reconciliation.html
|
||||||
prev: special-non-dom-attributes.html
|
prev: special-non-dom-attributes.html
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: thinking-in-react
|
id: thinking-in-react
|
||||||
title: Thinking in React
|
title: Thinking in React
|
||||||
layout: docs
|
|
||||||
prev: tutorial.html
|
prev: tutorial.html
|
||||||
next: videos.html
|
next: videos.html
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: tutorial
|
id: tutorial
|
||||||
title: Tutorial
|
title: Tutorial
|
||||||
layout: docs
|
|
||||||
prev: getting-started.html
|
prev: getting-started.html
|
||||||
next: thinking-in-react.html
|
next: thinking-in-react.html
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
id: videos
|
id: videos
|
||||||
title: Videos
|
title: Videos
|
||||||
layout: docs
|
|
||||||
permalink: videos.html
|
permalink: videos.html
|
||||||
prev: thinking-in-react.html
|
prev: thinking-in-react.html
|
||||||
next: complementary-tools.html
|
next: complementary-tools.html
|
||||||
|
|||||||
Reference in New Issue
Block a user