gockel

package module
v0.0.0-...-5e66ec0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2025 License: MIT Imports: 12 Imported by: 0

README

Gockel

If you squint really hard, you could call Gockel a GraphQL Schema documentation generator. But it doesn't really do anything. You have to do all the work.

Gockel was purpose-built for docs.sourcehut.org and may or may not generalize well to other use-cases. The templates for that site can be found here, so you can get an idea of how to use Gockel.

In a nutshell, Gockel loads a GraphQL schema from file (no introspection support), parses it into a gqlparser Schema, and - with some minor enhancements - throws that at a standard Go template, which you have to supply yourself.

That's right, there is no default theme. You have to write templates to make Gockel do anything at all.

We are working to supply at least a baseline amount of documentation for Gockel, at which point it might be useful to others.

Documentation

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL