docgen: draw frame around active anchors (#18607)

This commit is contained in:
Andrey Makarov 2021-07-29 14:30:19 +03:00 • committed by GitHub
commit bbe05c1532
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 162 additions and 75 deletions

View file

@ -46,13 +46,14 @@ doc.section.toc2 = """
# * $seeSrc: generated HTML from doc.item.seesrc (if some switches are used).
doc.item = """
<a id="$itemSymOrID"></a>
<div id="$itemSymOrID">
<dt><pre>$header</pre></dt>
<dd>
$deprecationMsg
$desc
$seeSrc
</dd>
</div>
"""
# Chunk of HTML emitted for each entry in the HTML table of contents.