From 842d44dfa5650899061c626ce4a1671e8b12384f Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 21 Oct 2016 22:00:11 +0100 Subject: [PATCH] Fix redirects --- contributing/how-to-contribute.md | 2 +- docs/components-and-props.md | 9 +++++---- docs/composition-vs-inheritance.md | 2 +- docs/conditional-rendering.md | 2 +- docs/forms.md | 2 +- docs/hello-world.md | 5 +++-- docs/installation.md | 11 ++++++----- docs/jsx-in-depth.md | 13 +++++++------ docs/optimizing-performance.md | 2 +- docs/reference-dom-elements.md | 13 +++++++------ docs/reference-react-component.md | 13 +++++++------ docs/reference-react.md | 9 +++++---- docs/refs-and-the-dom.md | 9 +++++---- docs/rendering-elements.md | 2 +- docs/state-and-lifecycle.md | 2 +- docs/web-components.md | 2 +- tutorial/tutorial.md | 5 +++-- 17 files changed, 56 insertions(+), 47 deletions(-) diff --git a/contributing/how-to-contribute.md b/contributing/how-to-contribute.md index 5d944c625..736b6b3cf 100644 --- a/contributing/how-to-contribute.md +++ b/contributing/how-to-contribute.md @@ -4,7 +4,7 @@ title: How to Contribute layout: contributing permalink: contributing/how-to-contribute.html next: codebase-overview.html -redirect_from: "/tips/introduction.html" +redirect_from: "tips/introduction.html" --- React is one of Facebook's first open source projects that is both under very active development and is also being used to ship code to everybody on [facebook.com](https://www.facebook.com). We're still working out the kinks to make contributing to this project as easy and transparent as possible, but we're not quite there yet. Hopefully this document makes the process for contributing clear and answers some questions that you may have. diff --git a/docs/components-and-props.md b/docs/components-and-props.md index 98bf87442..5679009de 100644 --- a/docs/components-and-props.md +++ b/docs/components-and-props.md @@ -2,10 +2,11 @@ id: components-and-props title: Components and Props permalink: docs/components-and-props.html -redirect_from: "/docs/reusable-components.html" -redirect_from: "/docs/transferring-props.html" -redirect_from: "/tips/props-in-getInitialState-as-anti-pattern.html" -redirect_from: "/tips/communicate-between-components.html" +redirect_from: + - "docs/reusable-components.html" + - "docs/transferring-props.html" + - "tips/props-in-getInitialState-as-anti-pattern.html" + - "tips/communicate-between-components.html" prev: rendering-elements.html next: state-and-lifecycle.html --- diff --git a/docs/composition-vs-inheritance.md b/docs/composition-vs-inheritance.md index 5190f5a9c..0ac5cd45b 100644 --- a/docs/composition-vs-inheritance.md +++ b/docs/composition-vs-inheritance.md @@ -2,7 +2,7 @@ id: composition-vs-inheritance title: Composition vs Inheritance permalink: docs/composition-vs-inheritance.html -redirect_from: "/docs/multiple-components.html" +redirect_from: "docs/multiple-components.html" prev: lifting-state-up.html next: thinking-in-react.html --- diff --git a/docs/conditional-rendering.md b/docs/conditional-rendering.md index c2591e6d3..865f124ab 100644 --- a/docs/conditional-rendering.md +++ b/docs/conditional-rendering.md @@ -4,7 +4,7 @@ title: Conditional Rendering permalink: docs/conditional-rendering.html prev: handling-events.html next: lists-and-keys.html -redirect_from: "/tips/false-in-jsx.html" +redirect_from: "tips/false-in-jsx.html" --- In React, you can create distinct components that encapsulate behavior you need. Then, you can render only some of them, depending on the state of your application. diff --git a/docs/forms.md b/docs/forms.md index 81f7097f7..63998ce83 100644 --- a/docs/forms.md +++ b/docs/forms.md @@ -4,7 +4,7 @@ title: Forms permalink: docs/forms.html prev: state-and-lifecycle.html next: lifting-state-up.html -redirect_from: "/tips/controlled-input-null-value.html" +redirect_from: "tips/controlled-input-null-value.html" --- Form components such as ``, `