fish-shell/doc_src/python_docs_theme
Johannes Altmanninger d829a99977 Fix kbd tag HTML rendering
Commit c921c124e (docs: use canonical key names in :kbd: tags, 2024-04-13)
removed the box highlighting from elements like :kbd:`ctrl-c`.
This is because Sphinx for some reason converts this into

    <kbd>
        <kbd>ctrl</kbd>
        -
        <kbd>c</kbd>
    </kbd>

which results in duplicate boxes.
(See https://github.com/sphinx-doc/sphinx/issues/7530)

Our current style looks a bit ugly (it's
definitely worse than github's rendering at
https://github.com/fish-shell/fish-shell/blob/master/CHANGELOG.rst).
Let's restore the old style but make sure to only apply it only to the
outermost kbd element.

While at it, use the same monospace font as for inline code.
2024-09-28 18:00:02 +02:00
..
static Fix kbd tag HTML rendering 2024-09-28 18:00:02 +02:00
__init__.py Reformat 2020-11-22 14:39:48 +01:00
globaltoc.html docs: Fix TOC text and put them in a div 2021-01-27 22:02:35 +01:00
layout.html docs: Remove some jquery leftovers 2023-08-24 21:55:57 +02:00
localtoc.html docs: Fix TOC text and put them in a div 2021-01-27 22:02:35 +01:00
theme.conf docs: Add a brief summary of the changes to the theme 2020-10-04 15:09:20 +02:00