Daniel Lo Nigro
d457201862
Upgrade to Jekyll 3
Full list of changes is at https://jekyllrb.com/docs/upgrading/2-to-3/ . The tl;dr of it is:
- Relative permalinks were removed, so all the files in the `docs` subdirectory need their permalink to be prefixed with `docs/`
- `post` and `page` types were renamed to `posts` and `pages` respectively
- `jekyll-paginate`, `pygments` and `redcarpet` are all now optional, so I needed to explicitly add it to the Gemfile. Jekyll now uses `rouge` rather than `pygments` for syntax highlighting, but rouge does not support highlighting individual lines (`hl_lines`) so we need to continue using Pygments.
- Layout metadata (eg. `sectionid`) is now on a `layout` variable rather than `page`
Tested the following pages and confirmed that they all work:
- "Docs" link (getting started page): http://127.0.0.1:4000/react/docs/getting-started.html
- Downloads: http://127.0.0.1:4000/react/downloads.html
- Tutorial: http://127.0.0.1:4000/react/docs/tutorial.html
- A few pages under the "docs" subdirectory, to confirm they're working properly:
- http://127.0.0.1:4000/react/docs/addons.html
- http://127.0.0.1:4000/react/docs/why-react.html
- http://127.0.0.1:4000/react/docs/create-fragment.html
- A few tips:
- http://127.0.0.1:4000/react/tips/false-in-jsx.html
- http://127.0.0.1:4000/react/tips/style-props-value-px.html
- Non-English versions of the page:
- http://127.0.0.1:4000/react/docs/getting-started-it-IT.html
- http://127.0.0.1:4000/react/docs/getting-started-ja-JP.html
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
Ben Alpert
fb46ad0356
Update docs to align with 0.12 better
- Rename React.renderComponent -> React.render
- Remove most references to transferPropsTo
10 years ago
Cheng Lou
33c7ee6112
[Docs] Remove most of @jsx
I kept some places intact (search for @jsx ) because they require other bigger changes:
- ref-01-top-level-api.md
- grunt/tasks/npm.js
- old blog posts (don't change those)
- examples/ folder, as they have their own package.json that rely on old dependencies (node-jsx, reactify) that haven't upgraded to 0.12
10 years ago
Daniel Gasienica
75264470dd
Match `setTimeout` delay with documentation
11 years ago
Paul O’Shannessy
679397f60e
fix broken link on controlled input tip
11 years ago
Connor McSheffrey
b8c7f3cdfd
Renamed Cookbook references to tips. Reworded intro (sounded weird because it still referenced cookbooks. Updated some entry ID's (some side nav links didn't match entry permalinks)
11 years ago
Cheng Lou
c4bf9aa5bd
title case for entry titles; fix two entry names
11 years ago
Connor McSheffrey
3b8c13d08d
Removed Q&A format
11 years ago
Connor McSheffrey
854593e574
Remove cb prefix from cookbook entries since they're already in /cookbook/ directory
11 years ago
Connor McSheffrey
d0467822e4
added seperate cookbook layout (since URL base of next/prev is hardcoded in layout), added next/prev yaml meta to each cookbook entry until I can find a way of generating them dynamically
11 years ago
Cheng Lou
015eda5260
fix all links to point to /react as root
11 years ago
Cheng Lou
db16d570a0
modify some wording
11 years ago
Connor McSheffrey
3a903be5fe
minor spelling change on the "controlled input null value" cookbook entry
11 years ago
Cheng Lou
6b0353ddc9
entry on controlled input with `value` null
11 years ago