Skip to content

Commit

Permalink
add ability to generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
leehambley committed Jul 6, 2020
1 parent ac44fdb commit bb45a0c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Expand Up @@ -11,3 +11,10 @@
entry: npx format-graphql --write=true
language: node
files: '\w+\.graphql$'

- id: generate-graphidocs
name: Generate static site documentation
description: Runs using @graphidocs/docs from npmjs
entry: npx graphidocs -s ./schema.graphql --force -o ./doc/schema
language: node
files: '\w+\.graphql$'

0 comments on commit bb45a0c

Please sign in to comment.