Skip to content

Commit

Permalink
Website! (#866)
Browse files Browse the repository at this point in the history
* Docusaurus!

* Homepage

* Attempt deploy

* Add copy to cliboard to code blocks

* setup now copy script

* Deploy the correct folder

* Fix trailing comma

* Fix the deploy folder

* Start on docs

* Moar docs

* Remove unused doc

* Add form submission guide

* Add guides on arrays and validation

* Update sidebars

* More validation docs

* Simply the overview

* Fix up react-native

* Update React Native docs

* More tweaks

* Fix copyright

* Make the site merge-able to master

* Make the site deployable

* Add resources tab

* Update config

* Update config

* Add withFormik
  • Loading branch information
jaredpalmer committed Sep 4, 2018
1 parent 53ef1c4 commit 891ab5e
Show file tree
Hide file tree
Showing 101 changed files with 4,117 additions and 11,398 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Expand Up @@ -8,3 +8,15 @@ next.d.ts
legacy.d.ts
.idea
*.orig
.DS_Store

node_modules

lib/core/metadata.js
lib/core/MetadataBlog.js

website/translated_docs
website/build/
website/yarn.lock
website/node_modules
website/i18n/*
17 changes: 12 additions & 5 deletions .travis.yml
Expand Up @@ -9,9 +9,16 @@ git:
depth: 5
script:
- yarn test -- --runInBand --no-cache --coverage && yarn size
before_deploy: npm i -g now # Install Now CLI on Travis
deploy:
provider: script
script: curl -X POST -d '' $NETLIFY_BUILD_HOOK
skip_cleanup: true
on:
branch: master
- provider: script # Run a custom deployment script which we will define below
script: cd website && yarn install && yarn build && now build --token $NOW_TOKEN --team palmer
skip_cleanup: true
on:
all_branches: true
master: false
- provider: script
script: cd website && yarn install && yarn build && now build --token=$NOW_TOKEN --team palmer && now alias --token=$NOW_TOKEN --team palmer
skip_cleanup: true
on:
master: true

0 comments on commit 891ab5e

Please sign in to comment.