Skip to content

Commit 96fde8a

Browse files
authored
Add new docs website (facebook#10896)
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
1 parent 803b493 commit 96fde8a

File tree

267 files changed

+17344
-1979
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+17344
-1979
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ coverage/
1717
scripts/bench/benchmarks/**/*.js
1818
scripts/bench/remote-repo/
1919
vendor/*
20+
www/public/*
2021
**/node_modules

.flowconfig

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<PROJECT_ROOT>/node_modules/chrome-devtools-frontend/.*
88
<PROJECT_ROOT>/node_modules/devtools-timeline-model/.*
99
<PROJECT_ROOT>/node_modules/create-react-class/.*
10+
<PROJECT_ROOT>/www/node_modules/.*
1011
<PROJECT_ROOT>/.*/__mocks__/.*
1112
<PROJECT_ROOT>/.*/__tests__/.*
1213

@@ -15,6 +16,7 @@
1516
<PROJECT_ROOT>/.*/docs/.*
1617

1718
[include]
19+
./www/node_modules/hex2rgba/
1820

1921
[libs]
2022
./node_modules/fbjs/flow/lib/dev.js

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
node_modules
33
*~
44
*.pyc
5-
static
65
.grunt
76
_SpecRunner.html
87
__benchmarks__

.netlify

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"site_id":"f32c701b-ea0d-4350-8013-d3504b6441b5","path":"www/public"}

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v8.4.0

0 commit comments

Comments
 (0)