Skip to content

Commit 6f92bcf

Browse files
authored
Moved domain/docs/X to domain/X
1 parent 6011f76 commit 6f92bcf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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.

0 commit comments

Comments
 (0)