From f3ec96b939ebf95a48f3b673f6ff4173786deeba Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Fri, 26 May 2017 14:44:25 +0200 Subject: [PATCH] doc config updated for sphinx 1.6 --- docs/source/conf.py | 5 +++-- docs/source/docutils.conf | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 docs/source/docutils.conf diff --git a/docs/source/conf.py b/docs/source/conf.py index a6afbfa4..33d041b6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -25,7 +25,7 @@ # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' +needs_sphinx = '1.6' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. @@ -137,7 +137,8 @@ # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. -html_use_smartypants = True +# (deprecated, use docutils.conf) +# html_use_smartypants = True # Custom sidebar templates, maps document names to template names. #html_sidebars = {} diff --git a/docs/source/docutils.conf b/docs/source/docutils.conf new file mode 100644 index 00000000..53538e75 --- /dev/null +++ b/docs/source/docutils.conf @@ -0,0 +1,2 @@ +[restructuredtext parser] +smart_quotes=true