File tree 3 files changed +7
-4
lines changed 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 2
2
id : welcome
3
3
title : Welcome to the FSHOST Documentation!
4
4
sidebar_label : Welcome!
5
+ slug : /
5
6
---
6
7
7
8
import Card from '@site/src /components/Card/Card';
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ const config = {
13
13
url : 'https://docs.fshost.me' ,
14
14
// Set the /<baseUrl>/ pathname under which your site is served
15
15
// For GitHub pages deployment, it is often '/<projectName>/'
16
- baseUrl : '/' ,
16
+ baseUrl : '/docs/ ' ,
17
17
18
18
// GitHub pages deployment config.
19
19
// If you aren't using GitHub pages, you don't need these.
20
20
organizationName : 'fshostme' , // Usually your GitHub org/user name.
21
21
projectName : 'docs' , // Usually your repo name.
22
- trailingSlash : false ,
22
+ trailingSlash : true ,
23
23
24
24
//onBrokenLinks: 'throw',
25
25
onBrokenMarkdownLinks : 'throw' ,
@@ -139,6 +139,7 @@ const config = {
139
139
/** @type {import('@docusaurus/preset-classic').Options } */
140
140
( {
141
141
docs : {
142
+ routeBasePath : '/' ,
142
143
sidebarPath : './sidebars.js' ,
143
144
// Please change this to your repo.
144
145
// Remove this to remove the "edit this page" links.
@@ -147,6 +148,7 @@ const config = {
147
148
showLastUpdateAuthor : true ,
148
149
} ,
149
150
blog : {
151
+ routeBasePath : '/' ,
150
152
showReadingTime : true ,
151
153
// Please change this to your repo.
152
154
// Remove this to remove the "edit this page" links.
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function HomepageHeader() {
18
18
< div className = { styles . buttons } >
19
19
< Link
20
20
className = "button button--secondary button--lg"
21
- to = "/docs/welcome " >
21
+ to = "/" >
22
22
Open Docs
23
23
</ Link >
24
24
</ div >
@@ -42,7 +42,7 @@ export default function Home() {
42
42
// );
43
43
// }
44
44
45
- return < Redirect to = "docs/welcome " /> ;
45
+ return < Redirect to = "/ " /> ;
46
46
47
47
}
48
48
You can’t perform that action at this time.
0 commit comments