Skip to content

Commit

Permalink
reduce max heading level
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosLopezDeLara committed Oct 30, 2024
1 parent 8172af1 commit 19ee9b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
# Ignore the build directory
build/
node_modules
.docusaurus/
.docusaurus/docusaurus.config.mjs
.docusaurus/client-manifest.json
6 changes: 5 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down Expand Up @@ -101,6 +101,10 @@ const config = {
theme: prismThemes.github,
darkTheme: prismThemes.tomorrow,
},
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 2,
},
}),
};

Expand Down

0 comments on commit 19ee9b7

Please sign in to comment.