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.
8 years ago
Paul O’Shannessy
75a4bce9f7
[docs] Use npmcdn ( #7394 )
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
Nik Nyby
8e726bb55f
update babel-core to 5.8.34 in tutorial docs ( #7059 )
9 years ago
iamchenxin
0061c5fe28
[DOCS] Update zh-docs to v15-rc.1 (with #3240c09)
9 years ago
iamchenxin
a79666a4a4
update zh-docs (v0.14.3+)
9 years ago
WanderWang
491fa40f97
update Chinese docs to 0.14
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
Paul O’Shannessy
de98fa64c0
[docs] Update script mimetypes: text/jsx -> text/babel
9 years ago
Kohei TAKATA
f81254363b
Change number of html{} to highlight correct line
10 years ago
Kohei TAKATA
1f4e2f5fbe
Add meta tag in the header of HTML
10 years ago
Shim Won
122c926d95
Add site title to first code snippet of getting started (bd9d4b2)
10 years ago
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).
10 years ago
noyobo
ae604afc54
Chinese docs typo
10 years ago
Cam Song
639355ab35
Sync up previous Chinese documents and several minor updates on formats.
10 years ago
Paul O’Shannessy
27fbafae18
Own our fiddles so we can update them more easily
10 years ago
Paul O’Shannessy
febd05b900
Update React.DOM -> React.createElement through docs
10 years ago
Ben Alpert
fb46ad0356
Update docs to align with 0.12 better
- Rename React.renderComponent -> React.render
- Remove most references to transferPropsTo
10 years ago
Cheng Lou
33c7ee6112
[Docs] Remove most of @jsx
I kept some places intact (search for @jsx ) because they require other bigger changes:
- ref-01-top-level-api.md
- grunt/tasks/npm.js
- old blog posts (don't change those)
- examples/ folder, as they have their own package.json that rely on old dependencies (node-jsx, reactify) that haven't upgraded to 0.12
10 years ago
Paul O’Shannessy
2865e4a1c8
Set default layout for docs
11 years ago
ray
78a1ab8b2c
change some translation words
11 years ago
ray
fce4ee48f9
add translation for getting-started.md
11 years ago