From 19ee9b7d0a0229d88d6683ccf768a76382c91895 Mon Sep 17 00:00:00 2001 From: Carlos LopezDeLara Date: Wed, 30 Oct 2024 14:06:13 -0600 Subject: [PATCH] reduce max heading level --- .gitignore | 3 +++ docusaurus.config.js | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a6fe4a5..9c7e3cf 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ # Ignore the build directory build/ node_modules +.docusaurus/ +.docusaurus/docusaurus.config.mjs +.docusaurus/client-manifest.json diff --git a/docusaurus.config.js b/docusaurus.config.js index 03adea7..91d05ed 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,5 +1,5 @@ // @ts-check -import {themes as prismThemes} from 'prism-react-renderer'; +import { themes as prismThemes } from 'prism-react-renderer'; /** @type {import('@docusaurus/types').Config} */ const config = { @@ -101,6 +101,10 @@ const config = { theme: prismThemes.github, darkTheme: prismThemes.tomorrow, }, + tableOfContents: { + minHeadingLevel: 2, + maxHeadingLevel: 2, + }, }), };