From b14e20edffd0dec88a5d9c65dc5e3102a419c6d9 Mon Sep 17 00:00:00 2001 From: Thomas Georgios Giannos Date: Tue, 14 May 2024 10:41:37 +0300 Subject: [PATCH] Allowing more levels of headings contributing to tables of contents, by default is up to 2 levels --- docs/docusaurus.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index a8d352188..512611be6 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -57,6 +57,10 @@ const config: Config = { themeConfig: { // Replace with your project's social card image: 'img/docusaurus-social-card.jpg', + tableOfContents: { + minHeadingLevel: 2, + maxHeadingLevel: 5, + }, navbar: { title: 'OpenCDMP', logo: {