mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-30 05:23:57 +03:00
1b39992dbe
Conflicts: graphene/contrib/django/converter.py graphene/core/classtypes/enum.py |
||
---|---|---|
.. | ||
assets | ||
css | ||
pages | ||
playground | ||
static | ||
vendor | ||
wrappers | ||
.babelrc | ||
.gitignore | ||
app.js | ||
config.toml | ||
gatsby.config.js | ||
html.js | ||
package.json | ||
patched-react.js | ||
README.md |
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.