162306a36Sopenharmony_ci<!-- SPDX-License-Identifier: GPL-2.0 -->
262306a36Sopenharmony_ci{# Create a local TOC the kernel way #}
362306a36Sopenharmony_ci<p>
462306a36Sopenharmony_ci<h3 class="kernel-toc-contents">Contents</h3>
562306a36Sopenharmony_ci<input type="checkbox" class="kernel-toc-toggle" id = "kernel-toc-toggle" checked>
662306a36Sopenharmony_ci<label class="kernel-toc-title" for="kernel-toc-toggle"></label>
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci<div class="kerneltoc" id="kerneltoc">
962306a36Sopenharmony_ci{{ toctree(maxdepth=3) }}
1062306a36Sopenharmony_ci</div>
1162306a36Sopenharmony_ci{# hacky script to try to position the left column #}
1262306a36Sopenharmony_ci<script type="text/javascript"> <!--
1362306a36Sopenharmony_ci  var sbar = document.getElementsByClassName("sphinxsidebar")[0];
1462306a36Sopenharmony_ci  let currents = document.getElementsByClassName("current")
1562306a36Sopenharmony_ci  sbar.scrollTop = currents[currents.length - 1].offsetTop;
1662306a36Sopenharmony_ci  --> </script>
17