scloudyy
85b053db03
Update docs zh cn ( #7254 )
* update 03-interactivity-and-dynamic-uis.zh-CN
* update 04-multiple-components.zh-CN
* update 05-reusable-components.zh-CN
* updat 06-transferring-props.zh-CN
* update 07-forms.zh-CN
* update 08-working-with-the-browser.zh-CN
* update 08 and 08.1
* update 09-tooling-integration.zh-CN
* revise
* don't use ES6
9 years ago
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
Paul O’Shannessy
710f12e7e3
[docs] Follow up to 6972 - update docs code ( #7278 )
9 years ago
Ivan
66a4e13ecf
Update 03-interactivity-and-dynamic-uis.zh-CN.md
9 years ago
iamchenxin
2877e4305e
Update zh-docs with 7e2a7f0
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
iamchenxin
5e9df47e04
[docs] Sync up zh-CN docs
Sync up with current en docs.
9 years ago
Ben Alpert
9dd9111dd7
Kill React.initializeTouchEvents for good
Now that #1169 is fixed, the only thing this is used for is to determine whether `onTouchTap` causes touch listeners to be added. The only internal uses of TapEventPlugin are where touch events are already initialized (so this doesn't make a difference) and we don't support `onTouchTap` as part of the public API so this should be safe.
10 years ago
noyobo
ae604afc54
Chinese docs typo
10 years ago
Cam Song
b8e33ad818
Add Chinese translation of interactivity-and-dynamic-uis
10 years ago