diff --git a/doc/requirements.txt b/doc/requirements.txt index b43db45d..f2ab00e7 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD -reno>=2.7.0 # Apache-2.0 -openstackdocstheme>=1.18.1 # Apache-2.0 +sphinx>=2.0.0,!=2.1.0 # BSD +reno>=3.1.0 # Apache-2.0 +openstackdocstheme>=2.2.1 # Apache-2.0 diff --git a/doc/source/conf.py b/doc/source/conf.py index 55ef25d6..351cb23e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -9,9 +9,9 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'openstackdocstheme'] # openstackdocstheme options -repository_name = 'openstack/python-designateclient' -bug_project = 'python-designateclient' -bug_tag = '' +openstackdocs_repo_name = 'openstack/python-designateclient' +openstackdocs_bug_project = 'python-designateclient' +openstackdocs_bug_tag = '' html_theme = 'openstackdocs' # Add any paths that contain templates here, relative to this directory. @@ -24,25 +24,14 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'designateclient' copyright = u'2012, Managed I.T. 2013-2014, Hewlett-Packard Development Company, L.P.' -# 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. -from designateclient.version import version_info as designateclient_version -version = designateclient_version.canonical_version_string() -# The full version, including alpha/beta/rc tags. -release = designateclient_version.version_string_with_vcs() - # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = [] # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['designateclient'] diff --git a/lower-constraints.txt b/lower-constraints.txt index 5bd1e9bb..4bfa356a 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -60,7 +60,7 @@ python-mimeparse==1.6.0 python-subunit==1.0.0 pytz==2013.6 PyYAML==3.12 -reno==2.7.0 +reno==3.1.0 requests==2.14.2 requests-mock==1.2.0 requestsexceptions==1.2.0 diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index c4400e5b..67fb4704 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -42,9 +42,10 @@ extensions = [ ] # openstackdocstheme options -repository_name = 'openstack/python-designateclient' -bug_project = 'python-designateclient' -bug_tag = '' +openstackdocs_repo_name = 'openstack/python-designateclient' +openstackdocs_bug_project = 'python-designateclient' +openstackdocs_bug_tag = '' +openstackdocs_auto_name = False html_theme = 'openstackdocs' # Add any paths that contain templates here, relative to this directory. @@ -99,7 +100,7 @@ exclude_patterns = [] # show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] diff --git a/test-requirements.txt b/test-requirements.txt index 4cb52f9e..1974962d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10,5 +10,5 @@ os-testr>=1.0.0 # Apache-2.0 python-subunit>=1.0.0 # Apache-2.0/BSD requests-mock>=1.2.0 # Apache-2.0 stestr>=2.0.0 # Apache-2.0 -reno>=2.7.0 # Apache-2.0 +reno>=3.1.0 # Apache-2.0 tempest>=17.1.0 # Apache-2.0