@graphql-markdown/docusaurus
Advanced tools
Changelog
1.16.7 - 2023-03-28
:bug: Fix undefined on undeclared root type instead of empty object reported by @LunaticMuch in #802
❕ This release has some significant code refactoring. If you experience regressions with this release, please report them.
Changelog
1.16.4 - 2023-02-03
🤩 @carolstran fixed a long due DOM warning where class
was used instead of className
in React MDX component.
Changelog
1.16.2 - 2023-01-07
Full Changelog: https://github.com/graphql-markdown/graphql-markdown/compare/1.16.1...1.16.2
[Changes][1.16.2]
<a id="1.16.1"></a>
Changelog
@graphql-markdown/docusaurus@1.15.1
@graphql-markdown/docusaurus
is now a micro package part of the graphql-markdown packages ecosystem ✨
@graphql-tools/graphql-file-loader
is no more a dependency and must be installed separately in your Docusaurus installation.
npm i @graphql-tools/graphql-file-loader
Explicitly declare the loader in your @graphql-markdown/docusaurus
plugin configuration, see the doc.
module.exports = {
// ...
plugins: [
[
"@graphql-markdown/docusaurus",
{
schema: "./schema/swapi.graphql",
rootPath: "./docs", // docs will be generated under './docs/swapi' (rootPath/baseURL)
baseURL: "swapi",
homepage: "./docs/swapi.md",
loaders: {
GraphQLFileLoader: "@graphql-tools/graphql-file-loader" // local file schema
}
},
],
],
};
diffMethod
is now set to NONE
(disabled) by default. If you miss it, see the doc.