Commit Graph

28 Commits

Author SHA1 Message Date
Michael Jackson 9fd42264fe s/npmcdn/unpkg/g (#7609)
npmcdn.com is moving to unpkg.com. Same backend, one less letter in the
domain name. Boom.
2016-08-29 19:45:31 -07:00
Paul O’Shannessy 1bb257de93 [docs] Use npmcdn (#7394) 2016-08-02 13:44:06 -07:00
Daniel Lo Nigro 6d537e939f 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 a8d8210222 update babel-core to 5.8.34 in tutorial docs (#7059) 2016-06-16 20:50:14 -07:00
Ryo Shibayama e487c36ec0 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 9c7f895783 Updte tutorial to ja-JP (#6967) 2016-06-08 19:20:20 -07:00
Ben Alpert 1801d56500 Use remarkable instead of marked (#6961)
https://github.com/reactjs/react-tutorial/issues/139
2016-06-03 14:41:38 -07:00
nakazye ccfd1ffb30 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 d26ec08cf1 Update jQuery and marked versions in tutorial 2016-02-16 12:07:03 -08:00
Hideo Matsumoto d136d28f55 Add note in "Fetching from the server" section. 2016-02-01 23:19:08 +09:00
koh-taka 94325ea3ef Fix wrong script name (showdown -> marked)
jp: チュートリアル内のshowdown を marked に修正
2015-12-11 11:23:56 +09:00
Matthew e02bd0543f add highlight to a line of code to tutorial20.js (all languages included) 2015-11-24 01:23:55 -05:00
Ben Brooks 240d7c82cc Reset state if comment submit fails 2015-11-07 13:26:17 -05:00
translucens 73ec3713b3 Add react-dom.js to tutorials 2015-10-26 22:23:50 +09:00
kohashi85 ce002e61b1 Update tutorial.ja-JP.md 2015-10-21 17:04:08 +09:00
Jim 712199ef98 React -> ReactDOM for render() and findDOMNode() 2015-10-05 17:46:58 -07:00
Paul O’Shannessy bef8942cb7 [docs] Remove JSXTransformer from tutorial 2015-09-25 17:58:07 -07:00
MIKAMI Yoshiyuki 47ce8ecacb Fix Markdown conversion with marked 2015-08-14 01:07:19 +09:00
Kohei TAKATA 1ceded865b Change tutorial.ja-JP.md to use marked 2015-08-11 22:54:36 +09:00
Kohei TAKATA a9e0b4a0a3 Change number of html{} to highlight correct line 2015-07-10 09:16:26 +09:00
Kohei TAKATA 87ecb0ba1f Add meta tag in the header of HTML 2015-07-10 08:49:43 +09:00
Shim Won c1b0550acf Update script source (c227a39) 2015-06-26 19:39:25 +09:00
Cristovao Verstraeten c227a398ba 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 8488cb4dac fix japanese docs permalinks 2015-06-08 18:18:57 -07:00
Arian Faurtosh f8f92f4169 added missing DOCTYPE 2015-05-31 19:41:01 -07:00
Jon Scott Clark f4a6644f4e Fix line highlighting in code blocks due to addition of extra example code 2015-04-22 10:45:15 -04:00
Jon Scott Clark 90f086efbf Add 'cache: false' to $.ajax when fetching comments 2015-04-18 11:11:18 -04:00
clariroid a869a0f7b0 Fix the locale id 2015-03-26 06:15:52 +09:00