Commit Graph

38 Commits

Author SHA1 Message Date
Michael Jackson
d69d722116 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
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
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
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
Arkist
814973f33a Update Korean translation to 84af306 2015-11-05 06:56:48 +09:00
translucens
4a853339d8 Add react-dom.js to tutorials 2015-10-26 22:23:50 +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
Shim Won
e8612cd732 Update Korean translation to 991c437 2015-07-25 11:06:00 +09:00
Shim Won
1f3e1360b2 Update Korean translation to e928c65 2015-07-22 08:11:26 +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
Arian Faurtosh
49ca9b3091 added missing DOCTYPE 2015-05-31 19:41:01 -07:00
Shim Won
55435c0b1c Update Korean transltaion to 5bee4a5 2015-05-22 09:03:54 +09:00
Shim Won
8221e1f174 Update Korean Translation to 5275244 2015-05-16 21:49:04 +09:00
Shim Won
3eb5151a11 Update Korean Translation to 9484d0f 2015-05-01 09:09:09 +09:00
Shim Won
26fed0c9df Update Translation to 0183f70 2015-04-24 09:15:46 +09:00
Paul O’Shannessy
4a5be86d48 Merge pull request #3691 from jonscottclark/patch-1
Add 'cache: false' to $.ajax when fetching comments (docs/tutorial)
2015-04-22 09:57:58 -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
Reed Loden
dd010b34e2 SSL/TLSize all the things! (convert http:// to https:// where appropriate)
Update links to use https:// where it is supported. There's probably a lot
more that could be fixed, but these are the core ones I found (especially
the download links in order to prevent MITM attacks). Note that there are
some fb.me links that will redirect to http:// even while accessed over
https://, but this seemed like the best way to fix those for now.

NOTE: Only non-third-party files were modified. There are references to
http:// URLs in vendored/third-party files, but seems appropriate to fix
upstream for those rather than editing the files.

Also, copy one image locally to the blog, as it was hotlinking to a site
that did not support https://.

Last, use youtube-nocookie.com instead of youtube.com for video embeds,
as the former doesn't try to set a cookie on load (privacy enhancement).
2015-04-18 16:49:32 -07:00
Jon Scott Clark
aaf3fc4e87 Add 'cache: false' to $.ajax when fetching comments 2015-04-18 11:11:18 -04:00
Shim Won
b0d161dd5e Update Translation to 6a7a4fd 2015-04-17 17:19:04 +09:00
Shim Won
621cea1f3a Update Korean translation to b3c75d8 2015-03-28 18:02:25 +09:00
Shim Won
8f1664afc6 Update Translation to b95ad29 2015-03-12 00:37:01 +09:00
Shim Won
6df8aebec0 Update Translation to 673874d 2015-03-12 00:33:40 +09:00
Shim Won
b725ef293e Unify words 2015-03-12 00:33:40 +09:00
Jay Jaeho Lee
9fd9487df1 Revise Korean translations 2015-03-12 00:33:40 +09:00
Shim Won
5477a056a5 Fix links 2015-03-12 00:33:40 +09:00
Shim Won
1a9906f7b0 Update docs to v0.13.0-beta.2
- Up to 5126cee
2015-03-12 00:33:39 +09:00
Jinwoo Oh
68ed526bb1 Translate tutorial to Korean
- Up to a19966f
2015-03-12 00:33:39 +09:00