Close sidebar when a toc link is clicked
MODIFY
website/static/js/index.js
website/static/js/index.js
@@ -9,6 +9,7 @@ tocbot.init({
headingSelector: 'h1, h2, h3',
hasInnerContainers: true,
collapseDepth: 3,
+ onClick: mobileToggleEvent,
headingObjectCallback: function (def, domElement) {
def.textContent = domElement.innerText;
return def;

Close sidebar when a toc link is clicked