tools, docs: fix stability index isssues
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Change 1: do not autolink in doc stability section
Currently, stability index descriptions in documentation.html
contain links to their very section which is redundant. This commit prevents tools/doc/html.js
from adding this links.
Change 2: do not add void wrapping elements to docs
Currently, all the TOC links are wrapped in span
elements with class according to stability index of their sections. However, most doc sections have not any stability index, so these spans have useless class stability_undefined
. This commit prevents tools/doc/html.js
from wrapping TOC links in useless spans.
This PR eliminates 4402 useless elements in docs and reduces doc size by ~ 176 KB.