From 7b712bf552fa48b2170a9a751cd7b22f445f70a1 Mon Sep 17 00:00:00 2001 From: Tim McMackin Date: Wed, 20 Nov 2024 07:59:34 -0500 Subject: [PATCH] Filter out glossary --- src/scripts/concatenate.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scripts/concatenate.js b/src/scripts/concatenate.js index 8773a5a95..670df09bc 100644 --- a/src/scripts/concatenate.js +++ b/src/scripts/concatenate.js @@ -3,11 +3,14 @@ const fs = require('fs'); const sidebars = require('../../sidebars'); const sidebarsToInclude = ['documentationSidebar']; +const pathsToFilterOut = [ + 'overview/glossary', +]; // Given a docusaurus sidebar object, return a list of the local doc IDs in it function getIdsRecursive(sidebarObject) { if (typeof sidebarObject === 'string') { - return sidebarObject; + return pathsToFilterOut.includes(sidebarObject) ? null : sidebarObject; } if (sidebarObject.constructor.name == "Array") { return sidebarObject.reduce((list, oneSidebarObj) =>