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#
-
Generate GraphQL docs:
npm run generateThis creates GraphQL documentation in
content/graphql/. -
Preview locally:
npm run devOpens the site at
http://localhost:1313. -
Build for production:
npm run buildCreates 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.