diff --git a/docusaurus.config.js b/docusaurus.config.js index 1c90b61..60d07b1 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -9,7 +9,7 @@ const config = { title: '海思机顶盒 NAS 教程', tagline: '一个极低功耗的 Linux 服务器', url: 'https://doc.ecoo.top', - baseUrl: '/docs/', + baseUrl: '/book/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', favicon: 'img/favicon.ico', @@ -74,7 +74,7 @@ const config = { label: '社区论坛', position: 'left', }, - {to: './blog', label: '作者博客', position: 'left'}, + {to: '/blog', label: '作者博客', position: 'left'}, { href: 'https://github.com/teasiu/doc', label: 'GitHub', @@ -116,7 +116,7 @@ const config = { items: [ { label: '作者博客', - to: './blog', + to: '/blog', }, { label: 'GitHub',