@imtala/gql-docs
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Graphql Documentation Creator

Easily create lightweight documentation for your Graphql API.

The resulting website has the following attributes

  • Fully static, which means you can host on any file server.
  • Each type document has its own rendered HTML document - Snappy and fast UI, good SEO & a low browser footprint.

This tool generates a static website - for every query, mutation or type in you schema a lightweight html page is created. Fast, simple and themeable.

Usage

Use as a svelte component

If you are using svelte and want to integrate gql docs into an existing website you can use the GqlDocumentation component exposed the the npm module: @insola/gql-docs-svelte.

  • you will need to install graphql as a dependency, since currently svelte/kit does not include this in the bundle

Use as a cli tool

  • Raise an issue if you want to use this tool to create a static site without using svelte. A cli tool will be published on npm shortly.

Examples

Dependents (0)

Package Sidebar

Install

npm i @imtala/gql-docs

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

24.5 kB

Total Files

17

Last publish

Collaborators

  • des-des