Commit Graph

27 Commits

Author SHA1 Message Date
Paul O’Shannessy
75a4bce9f7 [docs] Use npmcdn (#7394) 2016-08-02 13:44:06 -07:00
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
2016-07-19 12:18:49 -07:00
Nik Nyby
8e726bb55f update babel-core to 5.8.34 in tutorial docs (#7059) 2016-06-16 20:50:14 -07:00
Ryo Shibayama
7398aac852 Fix Japanese/Italian/Korean tutorials (#7020)
* Fix japanese tutorial

* Fix Italian tutorial as same as e4fe662

* Fix Korean tutorial as same as e4fe662
2016-06-12 00:03:13 -07:00
ogom
27fc830022 Updte tutorial to ja-JP (#6967) 2016-06-08 19:20:20 -07:00
Ben Alpert
2719c2e795 Use remarkable instead of marked (#6961)
https://github.com/reactjs/react-tutorial/issues/139
2016-06-03 14:41:38 -07:00
nakazye
eb01b78e55 Replace the code sample in all the languages.
Replace the code sample in all the languages.

But I leave below sample code because of wording relation.

* tutorial6:see 25ef456
* from tutorial16:see 3812b95
2016-02-23 00:05:26 +09:00
Max
6b0c74db9f Update jQuery and marked versions in tutorial 2016-02-16 12:07:03 -08:00
Hideo Matsumoto
56f821d420 Add note in "Fetching from the server" section. 2016-02-01 23:19:08 +09:00
koh-taka
535a7521d7 Fix wrong script name (showdown -> marked)
jp: チュートリアル内のshowdown を marked に修正
2015-12-11 11:23:56 +09:00
Matthew
a9749dc694 add highlight to a line of code to tutorial20.js (all languages included) 2015-11-24 01:23:55 -05:00
Ben Brooks
7e60ed05d7 Reset state if comment submit fails 2015-11-07 13:26:17 -05:00
translucens
4a853339d8 Add react-dom.js to tutorials 2015-10-26 22:23:50 +09:00
kohashi85
a5d4b8767c Update tutorial.ja-JP.md 2015-10-21 17:04:08 +09:00
Jim
33cd980f0e React -> ReactDOM for render() and findDOMNode() 2015-10-05 17:46:58 -07:00
Paul O’Shannessy
23bc540466 [docs] Remove JSXTransformer from tutorial 2015-09-25 17:58:07 -07:00
MIKAMI Yoshiyuki
8944ae4a52 Fix Markdown conversion with marked 2015-08-14 01:07:19 +09:00
Kohei TAKATA
195835c370 Change tutorial.ja-JP.md to use marked 2015-08-11 22:54:36 +09:00
Kohei TAKATA
f81254363b Change number of html{} to highlight correct line 2015-07-10 09:16:26 +09:00
Kohei TAKATA
1f4e2f5fbe Add meta tag in the header of HTML 2015-07-10 08:49:43 +09:00
Shim Won
bee993cb55 Update script source (c227a39) 2015-06-26 19:39:25 +09:00
Cristovao Verstraeten
d819da35e1 update script sources to be even with the example file in reactjs/react-tutorial repo ... apply to japanese and korean translation (+2 squashed commit)
Squashed commit:

[4564e55] Ensures we don't need to update this page for every release.

[b0d60f9] update script sources to be even with the example file in reactjs/react-tutorial repo
2015-06-15 13:30:15 +02:00
Paul O’Shannessy
9f010f59aa fix japanese docs permalinks 2015-06-08 18:18:57 -07:00
Arian Faurtosh
49ca9b3091 added missing DOCTYPE 2015-05-31 19:41:01 -07:00
Jon Scott Clark
3a2fa5cf08 Fix line highlighting in code blocks due to addition of extra example code 2015-04-22 10:45:15 -04:00
Jon Scott Clark
aaf3fc4e87 Add 'cache: false' to $.ajax when fetching comments 2015-04-18 11:11:18 -04:00
clariroid
d2e669f141 Fix the locale id 2015-03-26 06:15:52 +09:00