Build the article-level Table of Contents nav. Renders a labelled
<nav class="article-toc"> with one <a> per H2 section, keyed by the
stable fragment ids produced by the aggregator. The containing <aside>
is styled as a sticky sidebar on wide viewports and collapses into a
<details> disclosure on narrow viewports via styles.css.
Returns an empty string when entries is empty so low-signal
ANALYSIS_ONLY articles (few sections, no value in a TOC) stay compact.
Build the article-level Table of Contents nav. Renders a labelled
<nav class="article-toc">with one<a>per H2 section, keyed by the stable fragment ids produced by the aggregator. The containing<aside>is styled as a sticky sidebar on wide viewports and collapses into a<details>disclosure on narrow viewports viastyles.css.Returns an empty string when
entriesis empty so low-signalANALYSIS_ONLYarticles (few sections, no value in a TOC) stay compact.