From 087859ef5dee388f71b85516e1bc21c1395c9686 Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Thu, 15 Aug 2024 09:54:48 +0100 Subject: [PATCH] Remove toc sidebar when page-toclevels is -1 (#251) At narrow page widths, when the main TOC is still visible, setting `:page-toclevel: -1` results in no in-page 'Contents' being displayed, but the HTML elements are still present, taking up width. This can produce inconsistent page appearance: - pages with no headings use the available width - pages with headings, but the 'Contents' section removed use the width minus the width of the `