From f51a94071889f121a826f817604c1acbe0807e63 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 7 Jan 2019 11:44:50 -0800 Subject: [PATCH] Turn off smartquotes in Sphinx documentation It mangles the double dashes in the docstrings, and should close #155 (cherry picked from commit e85bcf435992558278d9a53165be861022ad6c0f) --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index b282574b..ca6a36c1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -159,6 +159,9 @@ html_static_path = ['_static'] # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' +# Turn off smartquotes, it mangles dashes in the docstrings +smartquotes = False + # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. #html_use_smartypants = True