Gatsby theme created to use Docz
$ npm install gatsby-theme-docz
:warning: This is experimental and subject to breaking changes.
yarn add gatsby gatsby-theme-docz
// gatsby-config.js
module.exports = {
return {
__experimentalThemes: [
{
resolve: 'gatsby-theme-docs',
options: {
base: '/docs'
themeConfig: {
mode: 'dark'
}
}
}
]
}
}
You can usually set your config using doczrc.js
file (see all available) or if you want to
set some default options for your theme, you can set options
on plugin definition.
© 2010 - cnpmjs.org x YWFE | Home | YWFE