Skip to content

Commit ebbab0d

Browse files
authored
chore: set docs to docs only mode (#98)
1 parent 461cf91 commit ebbab0d

File tree

4 files changed

+6
-16
lines changed

4 files changed

+6
-16
lines changed

docs/docs/01-introduction/01-introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
id: intro
3+
slug: /
34
title: What Is Sprinter?
45
sidebar_position: 1
56
---

docs/docusaurus.config.ts

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const config: Config = {
2626
"classic",
2727
{
2828
docs: {
29+
routeBasePath: '/',
2930
remarkPlugins: [
3031
[require("@docusaurus/remark-plugin-npm2yarn"), { sync: true }],
3132
],
@@ -51,18 +52,13 @@ const config: Config = {
5152
srcDark: "img/sprinter-logo-white.svg",
5253
},
5354
items: [
54-
{
55-
to: "docs/quickstart",
56-
position: "left",
57-
label: "Learn",
58-
},
5955
{
6056
href: "https://poc.sprinter.buildwithsygma.com/",
6157
label: "POC",
6258
position: "left",
6359
},
6460
{
65-
href: "https://api.test.sprinter.buildwithsygma.com/swagger/index.html",
61+
href: "https://api.sprinter.buildwithsygma.com/swagger/index.html",
6662
label: "Swagger",
6763
position: "right",
6864
},
@@ -81,15 +77,15 @@ const config: Config = {
8177
items: [
8278
{
8379
label: "Introduction",
84-
to: "/docs/introduction",
80+
to: "/",
8581
},
8682
{
8783
label: "SDK",
88-
to: "/docs/sdk",
84+
to: "/sdk",
8985
},
9086
{
9187
label: "React SDK",
92-
to: "/docs/react-sdk/",
88+
to: "/react-sdk/",
9389
},
9490
],
9591
},

docs/src/pages/markdown-page.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)