A configurable plugin for @2fd/graphdoc that generates HTML documentation for GraphQL schemas using the built-in document-schema plugin. Version 2.0.0 is the latest stable release. It allows customization of the document title and asset loading, and must be used with graphdoc-plugin-flexible to disable the default document-schema plugin to avoid duplication. It is faster than the default document-schema plugin and supports markdown in descriptions.
npm install graphdoc-plugin-schemaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures graphdoc-plugin-schema with a custom title and disabled assets, plus graphdoc-plugin-flexible to disable the default document-schema plugin.
Add graphdoc-plugin-flexible and configure 'document.schema': { 'disable': true }.Use '-p graphdoc/../../graphdoc-plugin-schema' instead of '-p graphdoc-plugin-schema'.
Add configuration to package.json as documented.
Use ES module import: import { Plugin } from 'graphdoc-plugin-schema'.Use '-p graphdoc/../../graphdoc-plugin-schema' instead of '-p graphdoc-plugin-schema'.
Add graphdoc-plugin-flexible and set 'document.schema': { 'disable': true }.Use import { Plugin } from 'graphdoc-plugin-schema'.