GraphQL Documentation with Hugo Book#

This is a demo site showcasing GraphQL schema documentation generated by GraphQL-Markdown using the Hugo Book theme.

Getting Started#

  1. Generate GraphQL docs:

    npm run generate

    This creates GraphQL documentation in content/graphql/.

  2. Preview locally:

    npm run dev

    Opens the site at http://localhost:1313.

  3. Build for production:

    npm run build

    Creates static site in public/.

Features#

  • πŸ“– Clean, book-like documentation theme
  • πŸ” Full-text search across all pages
  • πŸŒ“ Auto dark/light mode switching
  • πŸ“± Mobile-friendly responsive design
  • ⚑ Lightning-fast static site generation

What’s Inside#

Navigate to the GraphQL section in the sidebar to view the auto-generated schema documentation. All types, queries, mutations, and subscriptions are documented with descriptions and field details.