From 57d76f91c497f7b03781c6f78b19c5a14d4cdb6d Mon Sep 17 00:00:00 2001 From: Sinisa Veseli Date: Mon, 20 Jan 2020 13:46:06 -0600 Subject: [PATCH] modify sphinx version requirement for rtd theme --- documentation/sphinx/conf.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/sphinx/conf.py b/documentation/sphinx/conf.py index f1799e5d..f775ef3a 100644 --- a/documentation/sphinx/conf.py +++ b/documentation/sphinx/conf.py @@ -144,16 +144,16 @@ def setup(app): # General information about the project. project = u'EPICS PvaPy' -copyright = u'2014-2019, EPICS' +copyright = u'2014-2020, EPICS' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = "2.0.0" +version = "2.1.0" # The full version, including alpha/beta/rc tags. -release = "2.0.0" +release = "2.1.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -199,8 +199,8 @@ def setup(app): # Sphinx are currently 'default' and 'sphinxdoc'. # Hack for older versions of sphinx that seem to have issues with RTD theme html_theme = 'default' -sphinx_version = int(''.join(__import__('sphinx').__version__.split('.')[0:2])) -if sphinx_version >= 14: +sphinx_ver = int(''.join(__import__('sphinx').__version__.split('.')[0:2])) +if sphinx_ver >= 13: html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme