diff --git a/docs/docs/01-introduction/01-introduction.md b/docs/docs/01-introduction/01-introduction.md index 00e0820..bbd6bc7 100644 --- a/docs/docs/01-introduction/01-introduction.md +++ b/docs/docs/01-introduction/01-introduction.md @@ -1,5 +1,6 @@ --- id: intro +slug: / title: What Is Sprinter? sidebar_position: 1 --- diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index d8a099a..dbea7d8 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -26,6 +26,7 @@ const config: Config = { "classic", { docs: { + routeBasePath: '/', remarkPlugins: [ [require("@docusaurus/remark-plugin-npm2yarn"), { sync: true }], ], @@ -51,18 +52,13 @@ const config: Config = { srcDark: "img/sprinter-logo-white.svg", }, items: [ - { - to: "docs/quickstart", - position: "left", - label: "Learn", - }, { href: "https://poc.sprinter.buildwithsygma.com/", label: "POC", position: "left", }, { - href: "https://api.test.sprinter.buildwithsygma.com/swagger/index.html", + href: "https://api.sprinter.buildwithsygma.com/swagger/index.html", label: "Swagger", position: "right", }, @@ -81,15 +77,15 @@ const config: Config = { items: [ { label: "Introduction", - to: "/docs/introduction", + to: "/", }, { label: "SDK", - to: "/docs/sdk", + to: "/sdk", }, { label: "React SDK", - to: "/docs/react-sdk/", + to: "/react-sdk/", }, ], }, diff --git a/docs/src/pages/index.tsx b/docs/src/pages/_index.tsx similarity index 100% rename from docs/src/pages/index.tsx rename to docs/src/pages/_index.tsx diff --git a/docs/src/pages/markdown-page.md b/docs/src/pages/markdown-page.md deleted file mode 100644 index 9756c5b..0000000 --- a/docs/src/pages/markdown-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Markdown page example ---- - -# Markdown page example - -You don't need React to write simple standalone pages.