@graphql-markdown/docusaurus

Docusaurus docs feature plugin for generating Markdown documentation from a GraphQL schema.
Installation
npm init docusaurus my-website https://github.com/graphql-markdown/template.git
If you already have an existing Docusaurus installation, then see the documentation for an alternative installation.
Usage
The plugin adds a new command graphql-to-doc
to the Docusaurus CLI.
npx docusaurus graphql-to-doc
Command line options are described in the documentation settings page.
Configuration
See documentation settings page.
Troubleshooting
See documentation troubleshooting page.
License
GraphQL-Markdown packages are 100% free and open-source, under the MIT license.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest, you’ll be creating employment for local families and restoring wildlife habitats.
1.30.2 - 2025-08-27
🧹 This release cleans up few bugs:
- front matter entities declared in Docusaurus plugin config not propagated to generated MDX files (#2341)
- GraphQL code formatting issue for operations using default values with input object fields (#2356)
What's Changed
- fix(deps): update graphql-tools monorepo by @renovate[bot] in #2287
- 📦 npm(deps): Bump @graphql-tools/load from 8.1.1 to 8.1.2 by @dependabot[bot] in #2300
- 📦 npm(deps): Bump @graphql-tools/graphql-file-loader from 8.0.21 to 8.0.22 by @dependabot[bot] in #2302
- chore(deps): update dependency @graphql-tools/graphql-file-loader to v8.1.0 by @renovate[bot] in #2353
- :bug: fix issue with default values for object type fields by @edno in #2356
- :bug: fix overwritten docOptions (Docusaurus plugin config) by @edno in #2357
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.30.1...1.30.2
[Changes][1.30.2]
<a id="1.30.1"></a>