Skip to content

Commit 07a8cf8

Browse files
committed
Merge branch 'main' of https://github.com/fshostme/docs
2 parents 6011f76 + 52c141a commit 07a8cf8

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

docs/welcome.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
id: welcome
33
title: Welcome to the FSHOST Documentation!
44
sidebar_label: Welcome!
5+
slug: /
56
---
67

78
import Card from '@site/src/components/Card/Card';

docusaurus.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ const config = {
1313
url: 'https://docs.fshost.me',
1414
// Set the /<baseUrl>/ pathname under which your site is served
1515
// For GitHub pages deployment, it is often '/<projectName>/'
16-
baseUrl: '/',
16+
baseUrl: '/docs/',
1717

1818
// GitHub pages deployment config.
1919
// If you aren't using GitHub pages, you don't need these.
2020
organizationName: 'fshostme', // Usually your GitHub org/user name.
2121
projectName: 'docs', // Usually your repo name.
22-
trailingSlash: false,
22+
trailingSlash: true,
2323

2424
//onBrokenLinks: 'throw',
2525
onBrokenMarkdownLinks: 'throw',
@@ -139,6 +139,7 @@ const config = {
139139
/** @type {import('@docusaurus/preset-classic').Options} */
140140
({
141141
docs: {
142+
routeBasePath: '/',
142143
sidebarPath: './sidebars.js',
143144
// Please change this to your repo.
144145
// Remove this to remove the "edit this page" links.
@@ -147,6 +148,7 @@ const config = {
147148
showLastUpdateAuthor: true,
148149
},
149150
blog: {
151+
routeBasePath: '/',
150152
showReadingTime: true,
151153
// Please change this to your repo.
152154
// Remove this to remove the "edit this page" links.

src/pages/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function HomepageHeader() {
1818
<div className={styles.buttons}>
1919
<Link
2020
className="button button--secondary button--lg"
21-
to="/docs/welcome">
21+
to="/">
2222
Open Docs
2323
</Link>
2424
</div>
@@ -42,7 +42,7 @@ export default function Home() {
4242
// );
4343
// }
4444

45-
return <Redirect to="docs/welcome" />;
45+
return <Redirect to="/" />;
4646

4747
}
4848

0 commit comments

Comments
 (0)