summaryrefslogtreecommitdiff
path: root/doc/development/tutorials/examples/autodoc_intenum.py
diff options
context:
space:
mode:
authorJames Knight <james.d.knight@live.com>2021-09-06 23:44:35 -0400
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-09-11 17:04:57 +0900
commite01d914dbd2688e759d90201c18365be967c64b3 (patch)
tree7355dd55e693b5a80756ecc4dd44e645100fdcb6 /doc/development/tutorials/examples/autodoc_intenum.py
parent293beecc06c2aca930ca8ed659adad0fc2e33832 (diff)
downloadsphinx-git-e01d914dbd2688e759d90201c18365be967c64b3.tar.gz
themes: use noscript for search js notification
The "search.html" template will generate a warning admonition about requiring JavaScript for search and automatically hiding the element when supported. While functional, if a client renders the page slowly, the warning notification may be visible to the user for a moment. Instead of relying on JavaScript to suppress this warning, use a `noscript` tag to hide the warning for clients who do not support JavaScript. This also has the benefit of one less JavaScript call required by a client. Signed-off-by: James Knight <james.d.knight@live.com>
Diffstat (limited to 'doc/development/tutorials/examples/autodoc_intenum.py')
0 files changed, 0 insertions, 0 deletions