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
Daniel Rosenwasser
3aa8cc5739
Update link and description of TypeScript support. ( #6953 )
9 years ago
Kevin Suttle
3021bc83fd
Fix broken link to TypeScript docs ( #6687 )
9 years ago
Jim
40380fbafd
Create section on using React with package managers.
9 years ago
Nathan Smith
0b8c890c00
remove babel-browser link
9 years ago
Paul O’Shannessy
ac591bc96b
[docs] Update tooling integration for more babel 6
9 years ago
Ludovico Fischer
3a11e9b4cd
Correct Babel 6 command line usage instructions.
The user should install the babel-cli package, see http://babeljs.io/docs/usage/cli/ .
9 years ago
Henry Zhu
9b5ec2df00
add docs for babel 6
9 years ago
Baraa Hamodi
a38a848170
Documentation cleanup.
9 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
Ben Alpert
b3d98961c0
Capitalize Babel
10 years ago
Kyle Kelley
f0103a15fa
Update tooling docs to suggest babel
`react-tools` is deprecated, `babel` is our future
* https://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform-and-react-tools.html
* https://babeljs.io/docs/usage/jsx/
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
Rick Beerendonk
f9a27cb317
Documents that JSX tool is transforming files with .js extension (and not .jsx) by default
10 years ago
Sebastian Markbage
4202fcd9c5
Replace transferPropsTo with transferring props patterns
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
Ben Alpert
545ff28d28
Move tooling info to Complementary Tools wiki
I moved the info that was here to the wiki page: https://github.com/facebook/react/wiki/Complementary-Tools ; it doesn't need to live in the website any more.
11 years ago
fxbois
701f068979
Update 08-tooling-integration.md
emacs compatibility
11 years ago
Lily
9a026ca5cb
included link to React devtools in tooling-integration. fixes #791
11 years ago
Ville Immonen
0a498244b0
Merge the lists of JSX integrations in the docs.
There were these two lists of JSX tools at Complimentary Tools
and Tooling Integration, that were a bit out of sync with each other.
Bring them together and add a link to the former from the latter.
11 years ago
petehunt
a437abb46a
remove references to react-page
11 years ago
Pascal Hartig
7d90bee52c
Add gulp-react to Helpful OSS Projects
Add @sindresorhus' JSX task for Gulp to the "Helpful Open-Source Projects" section of the tooling integration docs.
11 years ago
Felipe Oliveira Carvalho
6baf40bd22
Remove the require-jsx plugin from the tooling-integration page
In favor of the r.js friendly jsx-requirejs-plugin
11 years ago
Felipe Oliveira Carvalho
35490e4b5e
Add jsx-requirejs-plugin to the tooling-integration page
11 years ago
Cheng Lou
4217596377
move docs tooling from JSX in Depth
Also removes the code wrap around the syntax highlighting link.
11 years ago
petehunt
b5841ea2f3
new addons docs
closes #403
11 years ago
SanderSpies
ecbc0951e3
- removed creation of the id within the tooling integration doc (expect this to be done by @zpao's pull request)
- removed the if statement and now always provide a warning message (as proposed by @spicyj )
- improved the warning message
11 years ago
SanderSpies
786d431414
Correcting the markdown anchor
11 years ago
SanderSpies
cce5f4e167
Give the user a warning when using unoptimized JSX code and send the user to the correct location in the documentation to optimize.
11 years ago
Ben Alpert
f566b56ed1
Flesh out reference documentation, more API info
11 years ago
Paul O’Shannessy
647ce1553c
Fix capitalization of Tooling Integration page
12 years ago
Vjeux
8deee0eead
Update the tooling page to include pyReact, react-rails and react-page
12 years ago
Paul O’Shannessy
609a3766bd
em dashes
12 years ago
Paul O’Shannessy
a981424f65
Cleanup "Tooling Integration"
12 years ago
Paul O’Shannessy
f2345ba2e2
Remove numbers from URLs.
This will let us keep docs in order on the filesystem but have
reasonable permalinks. If we add something at 02- it doesn't result in
lots of broken links.
12 years ago
Paul O’Shannessy
17ea30c8c5
Fix title casing and heading levels
12 years ago
petehunt
1263fde643
move docs around, add likebutton
12 years ago
petehunt
e874be922a
tweak the source
12 years ago
Pete Hunt
3e365d33f1
Update 08-working-with-your-environment.md
12 years ago
petehunt
6f4749436c
add working with your environment section
12 years ago