mirror of https://github.com/docker/docs.git
Wraps the entry title in a span element so that we can have a single
querySelector to get the textContent of the title of a top-level toc
item of a page:
document.querySelector("#sectiontree li:has([aria-current]) :is(a, button) span")
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
|
||
|---|---|---|
| .. | ||
| components | ||
| utils | ||
| api-aside.html | ||
| aside.html | ||
| breadcrumbs.html | ||
| cli-aside.html | ||
| footer.html | ||
| github-links.html | ||
| head.html | ||
| header.html | ||
| heading.html | ||
| mermaid.html | ||
| meta.html | ||
| reading-time.html | ||
| sidebar.html | ||
| toc-api.html | ||
| toc-cli.html | ||
| toc-default.html | ||
| top-nav.html | ||