mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Set default layout for docs
This commit is contained in:
@@ -15,6 +15,11 @@ defaults:
|
||||
type: post
|
||||
values:
|
||||
layout: post
|
||||
- scope:
|
||||
path: docs
|
||||
type: page
|
||||
values:
|
||||
layout: docs
|
||||
exclude:
|
||||
- Gemfile
|
||||
- Gemfile.lock
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: why-react
|
||||
title: Why React?
|
||||
layout: docs
|
||||
permalink: why-react.html
|
||||
next: displaying-data.html
|
||||
---
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: why-react-zh-CN
|
||||
title: 为什么使用 React?
|
||||
layout: docs
|
||||
permalink: why-react-zh-CN.html
|
||||
next: displaying-data.html
|
||||
---
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: reusable-components
|
||||
title: Reusable Components
|
||||
layout: docs
|
||||
permalink: reusable-components.html
|
||||
prev: multiple-components.html
|
||||
next: forms.html
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: forms
|
||||
title: Forms
|
||||
layout: docs
|
||||
permalink: forms.html
|
||||
prev: reusable-components.html
|
||||
next: working-with-the-browser.html
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: tooling-integration
|
||||
title: Tooling Integration
|
||||
layout: docs
|
||||
permalink: tooling-integration.html
|
||||
prev: more-about-refs.html
|
||||
next: addons.html
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: addons
|
||||
title: Add-ons
|
||||
layout: docs
|
||||
permalink: addons.html
|
||||
prev: tooling-integration.html
|
||||
next: animation.html
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: animation
|
||||
title: Animation
|
||||
layout: docs
|
||||
permalink: animation.html
|
||||
prev: addons.html
|
||||
next: two-way-binding-helpers.html
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: update
|
||||
title: Immutability Helpers
|
||||
layout: docs
|
||||
permalink: update.html
|
||||
prev: clone-with-props.html
|
||||
next: pure-render-mixin.html
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: pure-render-mixin
|
||||
title: PureRenderMixin
|
||||
layout: docs
|
||||
permalink: pure-render-mixin.html
|
||||
prev: update.html
|
||||
next: perf.html
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: perf
|
||||
title: Performance Tools
|
||||
layout: docs
|
||||
permalink: perf.html
|
||||
prev: pure-render-mixin.html
|
||||
---
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: complementary-tools
|
||||
title: Complementary Tools
|
||||
layout: docs
|
||||
permalink: complementary-tools.html
|
||||
prev: videos.html
|
||||
next: examples.html
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: examples
|
||||
title: Examples
|
||||
layout: docs
|
||||
permalink: examples.html
|
||||
prev: complementary-tools.html
|
||||
---
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: flux-overview
|
||||
title: Flux Application Architecture
|
||||
layout: docs
|
||||
next: flux-todo-list.html
|
||||
---
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: flux-todo-list
|
||||
title: Flux TodoMVC Tutorial
|
||||
layout: docs
|
||||
prev: flux-overview.html
|
||||
---
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: getting-started
|
||||
title: Getting Started
|
||||
layout: docs
|
||||
next: tutorial.html
|
||||
---
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: getting-started-zh-CN
|
||||
title: 入门教程
|
||||
layout: docs
|
||||
next: tutorial.html
|
||||
---
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: top-level-api
|
||||
title: Top-Level API
|
||||
layout: docs
|
||||
permalink: top-level-api.html
|
||||
next: component-api.html
|
||||
---
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: events
|
||||
title: Event System
|
||||
layout: docs
|
||||
permalink: events.html
|
||||
prev: tags-and-attributes.html
|
||||
next: dom-differences.html
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: reconciliation
|
||||
title: Reconciliation
|
||||
layout: docs
|
||||
permalink: reconciliation.html
|
||||
prev: special-non-dom-attributes.html
|
||||
---
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: thinking-in-react
|
||||
title: Thinking in React
|
||||
layout: docs
|
||||
prev: tutorial.html
|
||||
next: videos.html
|
||||
---
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: tutorial
|
||||
title: Tutorial
|
||||
layout: docs
|
||||
prev: getting-started.html
|
||||
next: thinking-in-react.html
|
||||
---
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
id: videos
|
||||
title: Videos
|
||||
layout: docs
|
||||
permalink: videos.html
|
||||
prev: thinking-in-react.html
|
||||
next: complementary-tools.html
|
||||
|
||||
Reference in New Issue
Block a user