chore: docs

This commit is contained in:
mathuo 2022-05-29 18:05:58 +01:00
parent 28f77ac3ae
commit 7882e581e5
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -69,6 +69,11 @@ const config = {
// Remove this to remove the "edit this page" links. // Remove this to remove the "edit this page" links.
editUrl: editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
versions: {
current: {
label: `Development 🚧`,
},
},
}, },
blog: { blog: {
showReadingTime: true, showReadingTime: true,
@ -80,6 +85,11 @@ const config = {
theme: { theme: {
customCss: require.resolve('./src/css/custom.css'), customCss: require.resolve('./src/css/custom.css'),
}, },
gtag: process.env.CI
? {
trackingID: 'G-KXGC1C9ZHC',
}
: undefined,
}), }),
], ],
], ],
@ -124,12 +134,13 @@ const config = {
}, },
{ to: '/blog', label: 'Blog', position: 'left' }, { to: '/blog', label: 'Blog', position: 'left' },
{ {
href: 'https://github.com/mathuo/dockview', type: 'docsVersionDropdown',
label: 'GitHub',
position: 'right', position: 'right',
}, },
{ {
type: 'docsVersionDropdown', href: 'https://github.com/mathuo/dockview',
label: 'GitHub',
position: 'right',
}, },
], ],
}, },