fish-shell/doc_src
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
..
cmds Minor doc fixes 2024-09-18 22:11:14 +02:00
python_docs_theme Fix kbd tag HTML rendering 2024-09-28 18:00:02 +02:00
commands.rst docs: Add fish_should_add_to_history to commands list 2024-03-09 12:09:00 +01:00
completions.rst docs: Some rewording on completions 2024-05-10 17:40:18 +02:00
conf.py Enable Sphinx man_show_urls config 2024-04-20 13:34:08 +02:00
contributing.rst Improve CONTRIBUTING and add it to the docs 2023-06-01 18:09:02 +02:00
design.rst docs: Fix typos 2022-09-17 21:31:06 +08:00
faq.rst docs: use canonical key names in :kbd: tags 2024-04-20 15:36:29 +02:00
fish_for_bash_users.rst fish_for_bash_users: Put explanation on subshells first 2024-05-15 22:44:07 +02:00
fish_indent_lexer.py docs: restore default highlighting keywords and options in HTML 2022-01-16 14:07:19 +01:00
fish_synopsis.py Document the ! (not) and . (source) aliases more 2024-04-20 13:34:08 +02:00
index.rst docs: Some slight rewordings 2023-08-23 23:08:56 +02:00
interactive.rst Document ctrl-backspace and bind ctrl-delete as well 2024-09-23 14:52:50 +02:00
language.rst docs: Simplify Combining Lists section 2024-05-15 20:18:17 +02:00
license.rst docs: Remove broken indents in license 2024-08-15 17:48:48 +02:00
prompt.rst docs/prompt: Add funcsave/funced 2024-09-15 09:39:13 +02:00
relnotes.rst docs: call the CHANGELOG "release notes" 2021-02-25 22:46:24 +08:00
tutorial.rst docs: Fix two links 2024-06-22 14:58:07 +02:00