Commit Graph

183 Commits

Author SHA1 Message Date
Andrew Clark
ed911f4822 Update site constants 2018-12-19 17:31:20 -08:00
Jack Cross
a4148163b5 Add -webkit-overflow-scrolling to prism styles (#1457) 2018-12-03 21:14:55 +00:00
Jane Manchun Wong
bbfb7c5b27 articleLayout.container.flexDirection='column' only when media is less than 'small' (#1416)
* Specify articleLayout.container to flex in column direction

* articleLayout.container.flexDirection=column when media less than small

* Comply with eslint rules
2018-11-20 12:56:56 +00:00
Dan Abramov
e6818c5979 Revert "Specify articleLayout.container to flex in column direction (#1414)" (#1415)
This reverts commit d0718a3953.
2018-11-20 11:39:37 +00:00
Jane Manchun Wong
d0718a3953 Specify articleLayout.container to flex in column direction (#1414) 2018-11-20 11:06:03 +00:00
Sophie Alpert
cd6950a718 Add information about versioning policy (#1403) 2018-11-16 17:07:48 -08:00
Dan Abramov
1a97b5bd01 Update to 16.6.3 (#1398) 2018-11-13 20:35:56 +00:00
Andrew Clark
333656c363 Update version to 16.6.1 2018-11-06 18:41:40 -08:00
Dan Abramov
854b931866 Use 16.6.0 (#1286) 2018-10-23 17:05:04 -07:00
Sophie Alpert
c90d27a249 Smaller code font inside list items 2018-10-23 10:20:18 -07:00
Sophie Alpert
40394f97a8 Feature headings easier to read 2018-10-17 12:56:47 -07:00
Dan Abramov
35992a2a4d Fix bad word breaks in Safari 2018-10-10 15:17:01 +01:00
Michał Gołębiowski-Owczarek
06a8850b2f HTTPS-ify lots of URLs, update some to their newer homes (#1157)
This matters for user security.

I didn't touch blog posts & pages related to past conferences.

The `content/docs` could be HTTPS-ified as well but it contains lots of HTTP
links so maybe that'd be best done in a separate PR.
2018-10-05 14:39:12 -07:00
Dustin Schau
7d12082d8b fix: prevent gatsby file detection from breaking path field (#1226)
Fixes #1088

This should fix the path issues that people intermittently run into.
Gatsby sees the relative path (and the parent node with an absolute
path), joins on the parent path and the relative path, and presumes it's
a file... which is normally good, but which here is not what we want
beacuse then we're getting a resolver of type file instead of type
string referring to the relative path of the document.

This seems to fix a (long standing?) bug where the "Edit this Page"
button is broken, as well. e.g. see [this page](https://reactjs.org/community/support.html) which _should_ have an Edit this Page button

I'd need to think more as to whether there's a cleaner fix here, but
this seems to work pretty well!
2018-10-03 15:02:44 -07:00
Brian Vaughn
d0141c9326 Tweaked Prism theme to improve color accessibility 2018-10-01 07:55:05 -07:00
Dan Abramov
8c4652b041 Change highlight color (#1211) 2018-09-29 19:23:44 +01:00
Dustin Schau
3954cfe6f3 fix: address PR feedback (thanks @bvaughn!) 2018-09-28 20:39:43 -05:00
Dustin Schau
e855f5f503 chore: rearrange import order 2018-09-28 18:12:49 -05:00
Dustin Schau
6e2340d141 style: run prettier 2018-09-28 18:07:01 -05:00
Dustin Schau
12c43455e7 chore: add prop-types validation to code example 2018-09-28 18:04:02 -05:00
Dustin Schau
169754fb1b refactor: tweak to use the _updateState method 2018-09-28 14:54:26 -05:00
Dustin Schau
d83238caf0 feat: get hot reloading working for js code snippets 2018-09-28 14:52:17 -05:00
Dustin Schau
57cb7abde1 chore: remove outer wrapper div 2018-09-28 14:32:36 -05:00
Dustin Schau
fc0ef96fb6 chore: minor tweaks and run prettier 2018-09-28 14:29:44 -05:00
Dustin Schau
9d6015a871 fix: refactor plugin to use source-filesystem and onCreateNode 2018-09-28 14:25:10 -05:00
Dustin Schau
3ead525cf7 feat: refactor index page so hot reloading works for code examples 2018-09-28 14:17:15 -05:00
Sophie Alpert
a78049a5da Fix number alignment in sidebar (#1203)
![screenshot](https://user-images.githubusercontent.com/6820/46177889-6cf2b480-c269-11e8-8a92-182b3c225e8a.png)
2018-09-27 18:48:17 -04:00
Lionel
4a11063e9b Update versiont into 16.5.2 (#1198) 2018-09-25 18:28:58 +01:00
Alexander Nanberg
71b03486c0 Upgrade to Gatsby v2 (#1104)
* Upgrade to Gatsby v2

* Remove unnecessary polyfills since gatsby already provides them

* Move global styles to gatsby-browser

* Add fb comment and convert to cjs

* Revert to use pageQuery again

* Add back html.js

* Update dependencies

* Move TitleAndMetaTags

* Replace glamor/reset with normalize.css which fixes style order in prod

* Prettier formatting

* Remove unused types

* Remove old layout

* Fix versions link

* Update deps

* Update deps

* Remove hack since it's no longer needed

* Update dependencies

* Fix build error

* Fix prettier config resolution

* Update gatsby

* Remove custom onCreatePage logic

* Update dependencies

* Fix build

* Update dependencies

* prettier formatting

* update dependencies

* add custom babel config for flow

* upgrade dependencies

* update dependencies

* use stable gatsby release
2018-09-19 13:11:19 +01:00
Dan Abramov
74e254a394 16.5.1 2018-09-13 19:37:15 +01:00
Brian Vaughn
bfc61c3d69 Bumped docs version 2018-09-06 13:17:07 -07:00
Dan
58804cc370 More Flow fixes 2018-08-31 10:25:00 +01:00
Dan
88799e61fd Add exit clause for static builds 2018-08-31 10:24:16 +01:00
Dan Abramov
1ee1c3085f Patch the DOM to fix Google Translate (#1148)
* Fix Google Translate

* Tweaks
2018-08-31 10:21:07 +01:00
Sophie Alpert
0e4f45fa24 – 2018-08-17 13:21:31 -07:00
Dan Abramov
c32884da5f 16.4.2 blog post 2018-08-01 20:19:47 +01:00
Dan Abramov
428d52b834 Fix styling of code (#1087) 2018-07-25 02:47:06 +02:00
Alex Krolick
242dbdd7cc yarn upgrade
works locally...
2018-07-16 22:07:59 -07:00
Alex Krolick
d9cd3e311f upgrade some gatsby deps 2018-07-16 21:43:51 -07:00
Ben Halpern
1afab28a7e Add dev.to link to footer (#1003)
* Add DEV Community (dev.to) link to footer

Add to the channels section of footer alongside similar resources

* Add DEV Community to support page
2018-06-26 18:44:29 +01:00
Dan Abramov
623523131e Rewrite Installation and related docs (#996)
* Rewrite "adding React to existing app"

Fixes #988

* Some copy

* typo

* Update babel instructions

* Update umd link

* Add prod minification section

* Show "button" example in several targets

* wip

* More

* More

* tweak

* yas

* Multi root tip

* moaar

* alot

* Tweak links

* Explain better

* better lead

* tweaks

* tweaks

* wording

* More reassuring tone

* Grammar

* wording

* feedback from readers

* Use id, not class

* More nits

* Re-add a useful section
2018-06-26 01:24:56 +01:00
Dan Abramov
38c1a9ad7a React 16.4.1 (#975) 2018-06-13 17:58:44 +01:00
Dan Abramov
17c50df9d9 Explicitly order Main Concepts (#957) 2018-06-11 02:50:28 +01:00
Dan Abramov
03c0046f7b Try to fix iPhone horizontal scroll in Component reference 2018-06-10 21:50:01 +01:00
Minh Nguyen
1de600d9da React 16.4.0 (#907) 2018-05-24 12:01:27 +01:00
Dan Abramov
f461942615 Minor wording tweak for Versions page (#816) 2018-04-17 17:29:09 +01:00
Brian Vaughn
ec442372d6 Merge pull request #801 from bvaughn/versions
Added redirects for old React versions
2018-04-17 08:56:26 -07:00
Dan Abramov
0b2fac96bb React 16.3.2 2018-04-16 16:34:13 +01:00
Brian Vaughn
88bf29d3f3 Added 16.3 changelog to version links 2018-04-15 08:00:04 -07:00
Brian Vaughn
d184d0292f Added links to old release changelogs also 2018-04-14 08:08:16 -07:00