btrfs-progs: docs: disable RST smartquotes for em-dash

All long command line options in the html target render as a single
character which is confusing and wrong as we expect that to be '--'.
Disable it.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2021-11-08 16:43:02 +01:00
parent c1046aeda7
commit a079982a9e

View File

@ -39,6 +39,11 @@ html_theme = 'sphinx_rtd_theme'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# Disable em-dash translation to a single character as we use that for long
# command line options and this does not render in a copy & paste friendly way
# in html
smartquotes_action = 'qe'
man_pages = [
('btrfs-select-super', 'btrfs-select-super', 'overwrite primary superblock with a backup copy', '', '8'),
('btrfstune', 'btrfstune', 'tune various filesystem parameters', '', 8),