Skip to content

Commit

Permalink
Filter out glossary
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Nov 20, 2024
1 parent 294aca8 commit 7b712bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/scripts/concatenate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down

0 comments on commit 7b712bf

Please sign in to comment.