graphene/docs
2016-01-08 18:28:43 -05:00
..
assets Improved travis deploy to build in a branch 2015-11-25 20:44:24 -08:00
css Fixed playground css compatibility in old browsers 2015-11-30 00:38:13 -08:00
pages Corrected arguments in the mutate documentation. 2016-01-08 18:28:43 -05:00
playground Added starwars relay example 2015-11-30 02:31:17 -08:00
static Removed app cache. Added google analytics. 2015-11-30 02:15:55 -08:00
vendor First draft for docs 2015-11-25 11:23:31 -08:00
wrappers First version docs playground 2015-11-27 01:29:01 -08:00
.babelrc First draft for docs 2015-11-25 11:23:31 -08:00
.gitignore First draft for docs 2015-11-25 11:23:31 -08:00
app.js Removed app cache. Added google analytics. 2015-11-30 02:15:55 -08:00
config.toml Removed app cache. Added google analytics. 2015-11-30 02:15:55 -08:00
gatsby.config.js First fully working version of the playground editor 2015-11-27 23:50:20 -08:00
html.js Removed app cache. Added google analytics. 2015-11-30 02:15:55 -08:00
package.json Improved graphene playground with router query params 2015-11-29 22:33:09 -08:00
patched-react.js Added before install to travis for stopping build if only docs changed 2015-11-25 21:39:44 -08:00
README.md Updated READMEs 2015-11-30 00:25:18 -08:00

Graphene Docs

Graphene docs are powered by gatsby.

Installation

For running locally this docs. You have to execute

npm install -g gatsby && npm install

And then

gatsby develop

Playground

If you want to have the playground running too, just execute

./playground/graphene-js/build.sh

This command will clone the pypyjs-release-nojit repo, update it with the latest graphene, graphql-core and graphql-relay code, and make it available for the /playground view in the docs.

Build

For building the docs into the public dir, just run:

npm run build

Automation

Thanks to Travis, we automated the way documentation is updated in the gh-pages branch.

Each time we modify the docs in the master branch the travis job runs and updates the gh-pages branch with the latest code, so Graphene's website have always the latest docs.