@graphql-markdown/docusaurus
Advanced tools
Changelog
1.28.0 - 2025-03-16
⨠The framework independent package cli
is slowly maturing. It is now the backbone of the docusaurus
package.
From now, it should be possible to create customized MDX formatter for Next.js, Gatsby, Astro... using the undocumented setting mdxParser
. For more information and examples, see the docusaurus
package's source code.
š§ This release also comes with a tiny new CLI flag --config
that will print the processed configuration into a JSON format. This can be handy while debugging some of the customization, especially when mixing CLI and GraphQL Config settings.
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.27.0...1.28.8
[Changes][1.28.0]
<a id="1.27.0"></a>
Changelog
1.27.0 - 2025-02-16
š This release introduces a new NodeJS command line package @graphql-markdown/cli
allowing generation of Markdown files without Docusaurus dependencies.
This is still an early release and it is not yet documented, but you can experiment with it and give your feedback on this new package when used with other static site generators - note that you'll need MDX support.
npm install @graphql-markdown/cli
npx gqlmd graphql-to-doc
ā¹ļø The cli
package works similarly to the Docusaurus plugin, but it relies on a GraphQL config file for the settings. You can find examples of settings in the test folder of the package.
ā ļø BREAKING CHANGES - All previously deprecated settings have been removed:
docOptions.pagination
| --noPagination
(deprecated in release 1.22.0)docOptions.toc
| --noToc
(deprecated in release 1.22.0)printTypeOptions.useApiGroup
| --noApiGroup
(deprecated in release 1.26.0)Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.26.4...1.27.0
[Changes][1.27.0]
<a id="1.26.4"></a>
Changelog
1.26.4 - 2024-12-22
š This release adds fixes for printTypeOptions
parameters hierarchy
and exampleSection
.
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.26.3...1.26.4
[Changes][1.26.4]
<a id="1.26.3"></a>
Changelog
1.26.3 - 2024-11-14
š This releases fixes graphql-markdown logs not being reported to Docusaurus 3.
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.26.2...1.26.3
[Changes][1.26.3]
<a id="1.26.2"></a>
Changelog
1.26.2 - 2024-09-06
š This release fixes [ERROR] Error: Cannot find module '@graphql-markdown/printer-legacy'.
, a missing package reported by @mderriey in #1691.
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.26.0...1.26.2
[Changes][1.26.2]
<a id="1.26.0"></a>
Changelog
1.26.0 - 2024-08-14
š„ MISSING DEPENDENCY (#1691) FIXED IN RELEASE 1.26.2
š„
:sparkle: You can now generate the documentation using a flat files structure (single folder), provided by the option printTypeOptions.hierarchy
. The option also deprecates the option printTypeOptions.useApiGroup
(more information in the documentation).
:magic_wand: With the option printTypeOptions.hierarchy
, you can also now rename the top categories when using api
hierarchy (more information in the documentation).
ā ļø BREAKING CHANGE - When using api
hierarchy, the top categories are now Operations
and Types
instead of Api
and Types
. The option printTypeOptions.hierarchy
allows backward compatibility (more information in the documentation).
š£ This release also introduces the force
parameter that ensures the target folder is empty before generating the documentation (more information in the documentation).
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.25.0...1.26.0
[Changes][1.26.0]
<a id="1.25.0"></a>
Changelog
1.25.0 - 2024-07-26
:warning: BREAKING CHANGE - This release removes sidebars
files generation. The sidebars now rely on the Docusaurus default sidebar behavior.
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.24.4...1.25.0
[Changes][1.25.0]
<a id="1.24.4"></a>
Changelog
1.24.4 - 2024-07-20
:bug: Generated links now follow Docusaurus recommended practices to link docs by file path. This fix adds the .mdx
extension to generated links in Markdown files.
:rabbit: A CodeSandox demo using Docusaurus versioning is available here: https://codesandbox.io/p/devbox/determined-spence-mrpnmp
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.24.3...1.24.4
[Changes][1.24.4]
<a id="1.24.3"></a>