@graphql-markdown/docusaurus
TypeScript icon, indicating that this package has built-in type declarations

1.24.1 • Public • Published

@graphql-markdown/docusaurus

Latest Version GitHub License Technical Debt Coverage Mutation Score

Docusaurus docs feature plugin for generating Markdown documentation from a GraphQL schema.

Installation

graphql package is a peer-dependency, and it should be installed separately.

npm install @graphql-markdown/docusaurus graphql

Add @graphql-markdown/docusaurus to your site's docusaurus.config.js plugins option:

module.exports = {
  // ...
  plugins: ["@graphql-markdown/docusaurus"],
};

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.

Package Sidebar

Install

npm i @graphql-markdown/docusaurus

Weekly Downloads

6,929

Version

1.24.1

License

MIT

Unpacked Size

9.25 kB

Total Files

5

Last publish

Collaborators

  • edno