diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.js index 5f0646dc2..2edefa793 100644 --- a/packages/docs/docusaurus.config.js +++ b/packages/docs/docusaurus.config.js @@ -69,6 +69,11 @@ const config = { // Remove this to remove the "edit this page" links. editUrl: 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', + versions: { + current: { + label: `Development 🚧`, + }, + }, }, blog: { showReadingTime: true, @@ -80,6 +85,11 @@ const config = { theme: { 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' }, { - href: 'https://github.com/mathuo/dockview', - label: 'GitHub', + type: 'docsVersionDropdown', position: 'right', }, { - type: 'docsVersionDropdown', + href: 'https://github.com/mathuo/dockview', + label: 'GitHub', + position: 'right', }, ], },