mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 12:20:38 +01:00
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 |
||
|---|---|---|
| .. | ||
| 01-introduction.ja-JP.md | ||
| 01-introduction.ko-KR.md | ||
| 01-introduction.md | ||
| 02-inline-styles.ko-KR.md | ||
| 02-inline-styles.md | ||
| 03-if-else-in-JSX.ko-KR.md | ||
| 03-if-else-in-JSX.md | ||
| 04-self-closing-tag.ja-JP.md | ||
| 04-self-closing-tag.ko-KR.md | ||
| 04-self-closing-tag.md | ||
| 05-maximum-number-of-jsx-root-nodes.ko-KR.md | ||
| 05-maximum-number-of-jsx-root-nodes.md | ||
| 06-style-props-value-px.ko-KR.md | ||
| 06-style-props-value-px.md | ||
| 07-children-props-type.ko-KR.md | ||
| 07-children-props-type.md | ||
| 08-controlled-input-null-value.ko-KR.md | ||
| 08-controlled-input-null-value.md | ||
| 09-componentWillReceiveProps-not-triggered-after-mounting.ko-KR.md | ||
| 09-componentWillReceiveProps-not-triggered-after-mounting.md | ||
| 10-props-in-getInitialState-as-anti-pattern.ko-KR.md | ||
| 10-props-in-getInitialState-as-anti-pattern.md | ||
| 11-dom-event-listeners.ko-KR.md | ||
| 11-dom-event-listeners.md | ||
| 12-initial-ajax.ko-KR.md | ||
| 12-initial-ajax.md | ||
| 13-false-in-jsx.ko-KR.md | ||
| 13-false-in-jsx.md | ||
| 14-communicate-between-components.ko-KR.md | ||
| 14-communicate-between-components.md | ||
| 15-expose-component-functions.ko-KR.md | ||
| 15-expose-component-functions.md | ||
| 16-references-to-components.ko-KR.md | ||
| 16-references-to-components.md | ||
| 17-children-undefined.ko-KR.md | ||
| 17-children-undefined.md | ||
| 18-use-react-with-other-libraries.ko-KR.md | ||
| 18-use-react-with-other-libraries.md | ||
| 19-dangerously-set-inner-html.ko-KR.md | ||
| 19-dangerously-set-inner-html.md | ||