Skip to content

Commit e00437d

Browse files
committed
fix: update docs baseurl
1 parent 591d52c commit e00437d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docusaurus.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const config: Config = {
4343
'classic',
4444
{
4545
docs: {
46+
routeBasePath: 'optimai',
4647
sidebarPath: './sidebars.ts',
4748
remarkPlugins: [remarkMath],
4849
rehypePlugins: [rehypeKatex],

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import type { ReactNode } from 'react';
22
import { Redirect } from '@docusaurus/router';
33

44
export default function Home(): JSX.Element {
5-
return <Redirect to="/docs/" />;
5+
return <Redirect to="/optimai/" />;
66
}

0 commit comments

Comments
 (0)