diff --git a/docusaurus.config.js b/docusaurus.config.js index f215f81a0..fdd6489f3 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -23,8 +23,12 @@ const config = { "@docusaurus/preset-classic", /** @type {import('@docusaurus/preset-classic').Options} */ ({ - docs: false, // Disable docs - blog: false, // Disable blog + docs: false, + blog: false, + pages: { + path: 'src/pages', + routeBasePath: '/', + }, theme: { customCss: require.resolve("./src/css/custom.css"), }, @@ -36,7 +40,7 @@ const config = { /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ navbar: { - items: [], // Remove all navbar items + items: [], }, footer: { copyright: `© ${new Date().getFullYear()} BittensorLatent Holdings`, diff --git a/vercel.json b/vercel.json new file mode 100644 index 000000000..79d06139b --- /dev/null +++ b/vercel.json @@ -0,0 +1,9 @@ +{ + "redirects": [ + { + "source": "/((?!$).*)", + "destination": "https://docs.learnbittensor.org/$1", + "permanent": true + } + ] +} \ No newline at end of file