mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
Disable Sphinx SmartyPants in HTML output
The handling of dashes in particular results in confusing documentation in a number of instances, since "--" becomes an en-dash. This disables SmartyPants wholesale, losing smart quotes along with smart dashes. With Sphinx 1.6 we could fine-tune the conversion, using the new smartquotes and smartquotes_action settings. Signed-off-by: Stephen Kitt <steve@sk2.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
acb6258acc
commit
7282a93f4d
@ -201,7 +201,7 @@ html_context = {
|
||||
|
||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
||||
# typographically correct entities.
|
||||
#html_use_smartypants = True
|
||||
html_use_smartypants = False
|
||||
|
||||
# Custom sidebar templates, maps document names to template names.
|
||||
#html_sidebars = {}
|
||||
|
Loading…
Reference in New Issue
Block a user