Graphene docs are powered by gatsby.
For running locally this docs. You have to execute
npm install -g gatsby && npm install
And then
gatsby develop
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.
For building the docs into the public
dir, just run:
npm run build
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.