From df40e92e29875111d4fc971e5256437fd0f68220 Mon Sep 17 00:00:00 2001 From: Cheng Lou Date: Tue, 5 Nov 2013 09:52:50 -0500 Subject: [PATCH] fix title case for docs tips everywhere --- _config.yml | 24 +++++++++---------- cookbook/01-introduction.md | 2 +- cookbook/04-self-closing-tag.md | 2 +- ...=> 05-maximum-number-of-jsx-root-nodes.md} | 4 ++-- cookbook/06-style-props-value-px.md | 2 +- ...ceiveProps-not-triggered-after-mounting.md | 2 +- ...ops-in-getInitialState-as-anti-pattern.md} | 6 ++--- cookbook/11-dom-event-listeners.md | 2 +- 8 files changed, 22 insertions(+), 22 deletions(-) rename cookbook/{05-jsx-root-node-count.md => 05-maximum-number-of-jsx-root-nodes.md} (84%) rename cookbook/{10-props-in-getInitialSate-as-anti-pattern.md => 10-props-in-getInitialState-as-anti-pattern.md} (90%) diff --git a/_config.yml b/_config.yml index 013e93af..8e13f6d4 100644 --- a/_config.yml +++ b/_config.yml @@ -75,26 +75,26 @@ nav_cookbook: - id: introduction title: Introduction - id: inline-styles - title: Inline styles + title: Inline Styles - id: if-else-in-JSX - title: If else in JSX + title: If-Else in JSX - id: self-closing-tag - title: Self closing tag + title: Self-Closing Tag - id: jsx-root-node-count - title: JSX root node count + title: Maximum Number of JSX Root Nodes - id: style-props-value-px - title: Style props value px + title: Shorthand for Specifying Pixel Values in style props - id: children-props-type - title: Children props type + title: Type of the Children props - id: controlled-input-null-value - title: Controlled input null value + title: Value of null for Controlled Input - id: componentWillReceiveProps-not-triggered-after-mounting - title: componentWillReceiveProps not triggered after mounting + title: componentWillReceiveProps Not Triggered After Mounting - id: props-in-getInitialSate-as-anti-pattern - title: Props in getInitialSate as anti-pattern + title: Props in getInitialState Is an Anti-Pattern - id: dom-event-listeners - title: DOM event listeners + title: DOM Event Listeners in a Component - id: initial-ajax - title: Initial AJAX + title: Load Initial Data via AJAX - id: false-in-jsx - title: False In JSX \ No newline at end of file + title: False in JSX diff --git a/cookbook/01-introduction.md b/cookbook/01-introduction.md index 96f75cf4..81eb21a8 100644 --- a/cookbook/01-introduction.md +++ b/cookbook/01-introduction.md @@ -1,6 +1,6 @@ --- id: introduction -title: Cookbook Introduction +title: Introduction layout: cookbook permalink: introduction.html next: inline-styles.html diff --git a/cookbook/04-self-closing-tag.md b/cookbook/04-self-closing-tag.md index 01df31e8..69c2aada 100644 --- a/cookbook/04-self-closing-tag.md +++ b/cookbook/04-self-closing-tag.md @@ -4,7 +4,7 @@ title: Self-Closing Tag layout: cookbook permalink: self-closing-tag.html prev: if-else-in-JSX.html -next: jsx-root-node-count.html +next: maximum-number-of-jsx-root-nodes.html --- In JSX, `` alone is valid while `` isn't. diff --git a/cookbook/05-jsx-root-node-count.md b/cookbook/05-maximum-number-of-jsx-root-nodes.md similarity index 84% rename from cookbook/05-jsx-root-node-count.md rename to cookbook/05-maximum-number-of-jsx-root-nodes.md index b1071d56..744dfd58 100644 --- a/cookbook/05-jsx-root-node-count.md +++ b/cookbook/05-maximum-number-of-jsx-root-nodes.md @@ -1,8 +1,8 @@ --- -id: jsx-root-node-count +id: maximum-number-of-jsx-root-nodes title: Maximum Number of JSX Root Nodes layout: cookbook -permalink: jsx-root-node-count.html +permalink: maximum-number-of-jsx-root-nodes.html prev: self-closing-tag.html next: style-props-value-px.html --- diff --git a/cookbook/06-style-props-value-px.md b/cookbook/06-style-props-value-px.md index f23cb67e..9570091f 100644 --- a/cookbook/06-style-props-value-px.md +++ b/cookbook/06-style-props-value-px.md @@ -3,7 +3,7 @@ id: style-prop-value-px title: Shorthand for Specifying Pixel Values in style props layout: cookbook permalink: style-props-value-px.html -prev: jsx-root-node-count.html +prev: maximum-number-of-jsx-root-nodes.html next: children-props-type.html --- diff --git a/cookbook/09-componentWillReceiveProps-not-triggered-after-mounting.md b/cookbook/09-componentWillReceiveProps-not-triggered-after-mounting.md index 947d1f9d..07c248a8 100644 --- a/cookbook/09-componentWillReceiveProps-not-triggered-after-mounting.md +++ b/cookbook/09-componentWillReceiveProps-not-triggered-after-mounting.md @@ -4,7 +4,7 @@ title: componentWillReceiveProps Not Triggered After Mounting layout: cookbook permalink: componentWillReceiveProps-not-triggered-after-mounting.html prev: controlled-input-null-value.html -next: props-in-getInitialSate-as-anti-pattern.html +next: props-in-getInitialState-as-anti-pattern.html --- `componentWillReceiveProps` isn't triggered after the node is put on scene. This is by design. Check out [other lifecycle methods](/react/docs/cookbook/component-specs.html) for the one that suits your needs. diff --git a/cookbook/10-props-in-getInitialSate-as-anti-pattern.md b/cookbook/10-props-in-getInitialState-as-anti-pattern.md similarity index 90% rename from cookbook/10-props-in-getInitialSate-as-anti-pattern.md rename to cookbook/10-props-in-getInitialState-as-anti-pattern.md index 6b0a717f..9c7fd31e 100644 --- a/cookbook/10-props-in-getInitialSate-as-anti-pattern.md +++ b/cookbook/10-props-in-getInitialState-as-anti-pattern.md @@ -1,8 +1,8 @@ --- -id: props-in-getInitialSate-as-anti-pattern -title: Props in getInitialState Is an Anti-pattern +id: props-in-getInitialState-as-anti-pattern +title: Props in getInitialState Is an Anti-Pattern layout: cookbook -permalink: props-in-getInitialSate-as-anti-pattern.html +permalink: props-in-getInitialState-as-anti-pattern.html prev: componentWillReceiveProps-not-triggered-after-mounting.html next: dom-event-listeners.html --- diff --git a/cookbook/11-dom-event-listeners.md b/cookbook/11-dom-event-listeners.md index 314f7e85..80e9e9ba 100644 --- a/cookbook/11-dom-event-listeners.md +++ b/cookbook/11-dom-event-listeners.md @@ -3,7 +3,7 @@ id: dom-event-listeners title: DOM Event Listeners in a Component layout: cookbook permalink: dom-event-listeners.html -prev: props-in-getInitialSate-as-anti-pattern.html +prev: props-in-getInitialState-as-anti-pattern.html next: initial-ajax.html ---