This commit is contained in:
+20
-4
@@ -22,15 +22,27 @@ const config: Config = {
|
||||
locales: ['ja'],
|
||||
},
|
||||
|
||||
plugins: [
|
||||
// Tech(技術記事)用のドキュメント
|
||||
[
|
||||
'@docusaurus/plugin-content-docs',
|
||||
{
|
||||
id: 'tech',
|
||||
path: 'docs-tech',
|
||||
routeBasePath: 'tech',
|
||||
sidebarPath: './sidebars-tech.ts',
|
||||
},
|
||||
],
|
||||
],
|
||||
|
||||
presets: [
|
||||
[
|
||||
'classic',
|
||||
{
|
||||
docs: {
|
||||
sidebarPath: './sidebars.ts',
|
||||
path: 'docs',
|
||||
routeBasePath: '/blog',
|
||||
breadcrumbs: true,
|
||||
sidebarCollapsed: false,
|
||||
sidebarPath: './sidebars.ts',
|
||||
},
|
||||
blog: false,
|
||||
theme: {
|
||||
@@ -53,6 +65,11 @@ const config: Config = {
|
||||
label: 'Blog',
|
||||
position: 'left',
|
||||
},
|
||||
{
|
||||
to: '/tech',
|
||||
label: 'Tech',
|
||||
position: 'left',
|
||||
},
|
||||
{
|
||||
to: '/works',
|
||||
label: 'Works',
|
||||
@@ -69,7 +86,6 @@ const config: Config = {
|
||||
darkTheme: prismThemes.dracula,
|
||||
additionalLanguages: ['bash', 'json', 'yaml', 'python'],
|
||||
},
|
||||
// 目次の設定
|
||||
tableOfContents: {
|
||||
minHeadingLevel: 2,
|
||||
maxHeadingLevel: 4,
|
||||
|
||||
Reference in New Issue
Block a user