Skip to content

Commit

Permalink
Add new docs website (#10896)
Browse files Browse the repository at this point in the history
Adds a new docs website, built with Gatsby JS, to replace the old Jekyll site. Source code for the new site lives in /www (although markdown and YML data still comes from the legacy /docs folder).

Changes to either markdown or website source code can be previewed on Netlify. The react-js bot should automatically add comments to each PR with preview links. (This preview is generated by running the newly-added yarn build:docs command in the root package.json.)

The majority of the changes in this PR are contained within the new /www directory. However some minor modifications have been made to existing content in the /docs directory:

* Modified frontmatter author block to always be an array
* Small markdown formatting tweaks
  • Loading branch information
bvaughn authored Sep 28, 2017
1 parent 803b493 commit 96fde8a
Show file tree
Hide file tree
Showing 267 changed files with 17,344 additions and 1,979 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ coverage/
scripts/bench/benchmarks/**/*.js
scripts/bench/remote-repo/
vendor/*
www/public/*
**/node_modules
2 changes: 2 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<PROJECT_ROOT>/node_modules/chrome-devtools-frontend/.*
<PROJECT_ROOT>/node_modules/devtools-timeline-model/.*
<PROJECT_ROOT>/node_modules/create-react-class/.*
<PROJECT_ROOT>/www/node_modules/.*
<PROJECT_ROOT>/.*/__mocks__/.*
<PROJECT_ROOT>/.*/__tests__/.*

Expand All @@ -15,6 +16,7 @@
<PROJECT_ROOT>/.*/docs/.*

[include]
./www/node_modules/hex2rgba/

[libs]
./node_modules/fbjs/flow/lib/dev.js
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
node_modules
*~
*.pyc
static
.grunt
_SpecRunner.html
__benchmarks__
Expand Down
1 change: 1 addition & 0 deletions .netlify
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"site_id":"f32c701b-ea0d-4350-8013-d3504b6441b5","path":"www/public"}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v8.4.0
Loading

0 comments on commit 96fde8a

Please sign in to comment.