1*4e98799aSJonathan Corbet<!-- SPDX-License-Identifier: GPL-2.0 --> 2c404f5d4SJonathan Corbet{# Create a local TOC the kernel way #} 3c404f5d4SJonathan Corbet<p> 4c404f5d4SJonathan Corbet<h3 class="kernel-toc-contents">Contents</h3> 5c404f5d4SJonathan Corbet<input type="checkbox" class="kernel-toc-toggle" id = "kernel-toc-toggle" checked> 6c404f5d4SJonathan Corbet<label class="kernel-toc-title" for="kernel-toc-toggle"></label> 7c404f5d4SJonathan Corbet 8c404f5d4SJonathan Corbet<div class="kerneltoc" id="kerneltoc"> 9c404f5d4SJonathan Corbet{{ toctree(maxdepth=3) }} 10c404f5d4SJonathan Corbet</div> 11c404f5d4SJonathan Corbet{# hacky script to try to position the left column #} 12c404f5d4SJonathan Corbet<script type="text/javascript"> <!-- 13c404f5d4SJonathan Corbet var sbar = document.getElementsByClassName("sphinxsidebar")[0]; 14c404f5d4SJonathan Corbet let currents = document.getElementsByClassName("current") 15c404f5d4SJonathan Corbet sbar.scrollTop = currents[currents.length - 1].offsetTop; 16c404f5d4SJonathan Corbet --> </script> 17