docs: move gendocs tool to dagger/dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
28
tools/gendocs/gatsby-config.js
Normal file
28
tools/gendocs/gatsby-config.js
Normal file
@@ -0,0 +1,28 @@
|
||||
module.exports = {
|
||||
pathPrefix: `/${process.env.VERSION}`,
|
||||
siteMetadata: {
|
||||
siteTitle: `Dagger Docs`,
|
||||
defaultTitle: `Dagger Docs`,
|
||||
siteTitleShort: `Dagger Docs`,
|
||||
siteDescription: `Dagger Documentation`,
|
||||
siteUrl: `https://launch.dagger.io`,
|
||||
siteAuthor: `@dagger`,
|
||||
siteImage: `/banner.png`,
|
||||
siteLanguage: `en`,
|
||||
themeColor: `#1890FF`,
|
||||
docVersion : `${process.env.VERSION}`,
|
||||
},
|
||||
flags: { PRESERVE_WEBPACK_CACHE: true },
|
||||
plugins: [
|
||||
{
|
||||
resolve: `@rocketseat/gatsby-theme-docs`,
|
||||
options: {
|
||||
basePath: `/`,
|
||||
configPath: `docs/sidebar`,
|
||||
docsPath: `docs`,
|
||||
repositoryUrl: `https://github.com/dagger/dagger`,
|
||||
baseDir: `/`,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
Reference in New Issue
Block a user