From c0938df703769f34263eaa45186eba7fa46a74f9 Mon Sep 17 00:00:00 2001 From: Jon Harrell <4829245+jharrell@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:03:47 -0500 Subject: [PATCH] Idea 2: try baseUrl again --- docusaurus.config.ts | 6 +++--- src/pages/{docs => }/index.module.scss | 0 src/pages/{docs => }/index.tsx | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename src/pages/{docs => }/index.module.scss (100%) rename src/pages/{docs => }/index.tsx (100%) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 773dd83b20..adf432aed8 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -8,10 +8,10 @@ const config: Config = { favicon: 'img/favicon.png', // Set the production url of your site here - url: 'https://prisma.io', + url: 'https://docs-6bs.pages.dev', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: '/', + baseUrl: '/docs/', trailingSlash: false, onBrokenLinks: 'warn', @@ -79,7 +79,7 @@ const config: Config = { filename: 'sitemap.xml', }, docs: { - // routeBasePath: '/', + routeBasePath: '/', sidebarPath: './sidebars.ts', // Remove this to remove the "edit this page" links. editUrl: diff --git a/src/pages/docs/index.module.scss b/src/pages/index.module.scss similarity index 100% rename from src/pages/docs/index.module.scss rename to src/pages/index.module.scss diff --git a/src/pages/docs/index.tsx b/src/pages/index.tsx similarity index 100% rename from src/pages/docs/index.tsx rename to src/pages/index.tsx