Skip to content

Commit d3753fb

Browse files
authored
Update docusaurus.config.ts, routing
1 parent 86c2270 commit d3753fb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docusaurus.config.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config: Config = {
1313
url: 'https://graphicsprogramming.github.io/',
1414
// Set the /<baseUrl>/ pathname under which your site is served
1515
// For GitHub pages deployment, it is often '/<projectName>/'
16-
baseUrl: '/',
16+
baseUrl: '/blog/',
1717

1818
// GitHub pages deployment config.
1919
organizationName: 'GraphicsProgramming',
@@ -44,10 +44,7 @@ const config: Config = {
4444
[
4545
'classic',
4646
{
47-
docs: {
48-
routeBasePath: 'docs',
49-
sidebarPath: './sidebars.ts',
50-
},
47+
docs: false,
5148
blog: {
5249
showLastUpdateTime: true,
5350
showLastUpdateAuthor: true,
@@ -63,7 +60,7 @@ const config: Config = {
6360
onInlineTags: 'warn',
6461
onInlineAuthors: 'warn',
6562
onUntruncatedBlogPosts: 'warn',
66-
//routeBasePath: '/',
63+
routeBasePath: '/',
6764
blogSidebarCount: 'ALL',
6865
remarkPlugins: [remarkMath],
6966
rehypePlugins: [rehypeKatex],

0 commit comments

Comments
 (0)