Commit Graph

12 Commits

Author SHA1 Message Date
Brian Vaughn
3e4f2687c6 Update copyright headers (#3086)
Added and updated copyright headers.

Added some missing Flow types.

Removed an invalid prop-types import.
2020-07-07 10:35:57 -04: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
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
Alex Krolick
d9cd3e311f upgrade some gatsby deps 2018-07-16 21:43:51 -07:00
Fredrik Forsmo
a970afa27e Remove "use strict" from source files 2017-12-02 15:25:17 +01:00
tricinel
232d15463d Add flow types; related to #24 2017-11-20 17:57:36 +01:00
Brian Vaughn
7a9f04cad8 Removed MIT section from website source file headers 2017-10-10 10:36:40 -07:00
Brian Vaughn
0e647230e2 Replaced CC-BY 4.0 license in source code headers with MIT 2017-10-07 08:00:22 -07:00
Yangshun Tay
5f804b269d Standardize license across source files (#45) 2017-10-07 10:10:04 +01:00
Brian Vaughn
c9e1c3b834 Updated license name in headers 2017-10-06 13:27:15 -07:00
Brian Vaughn
192c429a21 Added missing title and og:url to 1-off pages 2017-10-04 15:31:46 -07:00
Brian Vaughn
9d9b2021ed Migrated Gatsby website source and config 2017-10-04 14:56:10 -07:00