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
Toru Kobayashi
0856ab5f90
Remove setProps and replaceProps from docs ( #7044 )
9 years ago
Paul O’Shannessy
0f7cac436c
Revert "Remove setProps and replaceProps completely" ( #7039 )
9 years ago
Toru Kobayashi
7793eed812
Remove setProps and replaceProps completely ( #6921 )
9 years ago
Toru Kobayashi
1a2774733a
Remove getDOMNode from docs ( #6919 )
9 years ago
Jim
eeaf72f9aa
Added post about upgrading your code to avoid isMounted()
9 years ago
jim
43128ce233
Increase severity of setprops and replaceprops deprecations, since their removal is now imminent.
9 years ago
Baraa Hamodi
bd6d713917
File Cleanup.
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
chico
f180f0ce37
make properties notation in docs consistent
9 years ago
Andreas Savvides
9d9ec7cc8a
Make "Component API" more readable
9 years ago
li.li
721e3c2c94
update component api docs
10 years ago
Jason Bonta
704fb36b8e
Make component api docs clearer
I'm proposing these changes because I found some repetition / lack of
clarity and some language that suggested that you could mutate
`this.state` directly.
10 years ago
Daniel Hejl
b2611b0de2
Removed redundant grave accent character from Component API docs
10 years ago
Sebastian Markbage
ea4dd85a7e
ES6 Class Docs
Some minor burried docs.
10 years ago
Jim
135117dd27
Added docs about the first-parameter-is-function version of setState.
10 years ago
Paul O’Shannessy
ab11e54d4c
Add deprecation note for deprecated component APIs
10 years ago
Jim
7114950cd1
Updated docs examples/recommendations to use findDOMNode instead of getDOMNode
10 years ago
Bob Ralian
3d9349c653
clarifies forceUpdate method
10 years ago
Toru Kobayashi
16a99a1247
Fix consistency of component api document
10 years ago
Sebastian Markbage
4202fcd9c5
Replace transferPropsTo with transferring props patterns
10 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
Paul O’Shannessy
f54b7aec3f
Reword Component API intro
Fixes #2179
10 years ago
Paul O’Shannessy
2865e4a1c8
Set default layout for docs
11 years ago
Julen Ruiz Aizpuru
49499bbf58
Docs: added note about setState() side-effects
11 years ago
Ben Alpert
4088f2449b
Reorder reference pages
This order should make more sense; it moves important functions like React.renderComponent up and deprecated/discouraged ones like transferPropsTo and setProps down. No content changes.
11 years ago
Ben Alpert
43ecc6a7f0
Clarify refs and setState callback documentation
11 years ago
Ben Alpert
6169bf33de
[docs] Point to renderComponent over setProps
11 years ago
Ben Alpert
0fdf67d922
Be more specific with createClass, renderComponent
Closes #371 .
11 years ago
Cheng Lou
3f257dea2f
[Docs] Rendering null/false and getDOMNode.
11 years ago
Ben Alpert
cb05a30360
Add callback to setProps docs
11 years ago
Ayman Osman
2eef22ace2
Fix typo
11 years ago
Christopher Chedeau
b276112ef0
Document isMounted
Text from @petehunt
11 years ago
Fabio M. Costa
d469a4e694
Fixes the name of the component on documentation
AvatarImage -> Avatar
11 years ago
Ben Alpert
f566b56ed1
Flesh out reference documentation, more API info
11 years ago