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>
|
||
|---|---|---|
| .. | ||
| _default | ||
| partials | ||
| samples | ||
| shortcodes | ||
| 404.html | ||
| index.html | ||
| index.redirects.json | ||
| index.robots.txt | ||
| sitemap.xml | ||