Autogenerate static GraphQL API documentation
Images in markdown do not require base path anymore when used with website.options.siteRoot
. This unified the API with the way URLs work.
- ![My image](/site/root/image.png)
+ ![My image](/image.png)
This is also true for website.options.appLogo
// magidoc.mjs
{
website: {
options: {
siteRoot: '/site/root',
- appLogo: '/site/root/logo.png'
+ appLogo: '/logo.png'
}
}
}
Fix peer dependencies issues when using NPM package manager