aboutsummaryrefslogtreecommitdiff
path: root/docusaurus.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'docusaurus.config.js')
-rw-r--r--docusaurus.config.js20
1 files changed, 17 insertions, 3 deletions
diff --git a/docusaurus.config.js b/docusaurus.config.js
index c1c0692e..03d5572b 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -5,6 +5,8 @@
// See: https://docusaurus.io/docs/api/docusaurus-config
import {themes as prismThemes} from 'prism-react-renderer';
+import admonitionTitleToHeading from './src/rehype/admonition-title-to-heading.js';
+import admonitionTitleToHeadingBeforeTOC from './src/remark/admonition-title-to-heading-before-toc.js';
/** @type {import('@docusaurus/types').Config} */
const config = {
@@ -54,6 +56,10 @@ const config = {
// Remove this to remove the "edit this page" links.
//editUrl:
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
+ //remarkPlugins: [sectionPrefix],
+ //beforeDefaultRehypePlugins: [admonitionTitleToHeadingBeforeTOC],
+ beforeDefaultRemarkPlugins: [admonitionTitleToHeadingBeforeTOC],
+ rehypePlugins: [admonitionTitleToHeading],
},
blog: false,
theme: {
@@ -94,7 +100,7 @@ const config = {
type: 'docSidebar',
sidebarId: 'dyslexiaSidebar',
position: 'left',
- label: '発達',
+ label: '発達関連',
},
{
to: 'tags',
@@ -123,9 +129,17 @@ const config = {
to: '/gian-tou',
},
{
- label: '発達',
+ label: '発達関連',
to: '/hattatu',
},
+ {
+ label: '🏷️タグ分類',
+ to: 'tags',
+ },
+ {
+ label: '🔎検索',
+ to: 'search',
+ },
],
},
{
@@ -141,7 +155,7 @@ const config = {
title: 'More',
items: [
{
- label: 'オフィシャルサイト',
+ label: '安竹洋平オフィシャルサイト',
to: 'https://yasutakeyohei.com/',
target: '_self',
},