diff --git a/docs/README.md b/docs/README.md index 4db50f03e119e..3d14a9bfd8419 100644 --- a/docs/README.md +++ b/docs/README.md @@ -21,6 +21,7 @@ Once you have RubyGems and installed Bundler (via `gem install bundler`), use it ```sh $ cd react/docs $ bundle install # Might need sudo. +$ npm install # Might need sudo. ``` ### Instructions diff --git a/docs/_config.yml b/docs/_config.yml index e99f4538a4fc0..35d586129fd72 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -69,3 +69,32 @@ nav_docs_sections: title: Event System - id: dom-differences title: DOM Differences +nav_tips: +- title: Tips + items: + - id: introduction + title: Introduction + - id: inline-styles + title: Inline Styles + - id: if-else-in-JSX + title: If-Else in JSX + - id: self-closing-tag + title: Self-Closing Tag + - id: maximum-number-of-jsx-root-nodes + title: Maximum Number of JSX Root Nodes + - id: style-props-value-px + title: Shorthand for Specifying Pixel Values in style props + - id: children-props-type + title: Type of the Children props + - id: controlled-input-null-value + title: Value of null for Controlled Input + - id: componentWillReceiveProps-not-triggered-after-mounting + title: componentWillReceiveProps Not Triggered After Mounting + - id: props-in-getInitialState-as-anti-pattern + title: Props in getInitialState Is an Anti-Pattern + - id: dom-event-listeners + title: DOM Event Listeners in a Component + - id: initial-ajax + title: Load Initial Data via AJAX + - id: false-in-jsx + title: False in JSX diff --git a/docs/_includes/nav_docs.html b/docs/_includes/nav_docs.html index e71ece3cb223e..98e1a15197e21 100644 --- a/docs/_includes/nav_docs.html +++ b/docs/_includes/nav_docs.html @@ -1,4 +1,5 @@
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 61b06b8adb1e0..f013a7286c2d8 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -74,6 +74,7 @@ +