diff --git a/doc/training-guides/source/website/conf.py b/doc/training-guides/source/website/conf.py index c6362a17..d93767c1 100644 --- a/doc/training-guides/source/website/conf.py +++ b/doc/training-guides/source/website/conf.py @@ -35,16 +35,14 @@ master_doc = 'index' # General information about the project. project = u'OpenStack Training Guides' -bug_tag = u'training-guides' +openstackdocs_bug_tag = u'training-guides' copyright = u'2014-2019, OpenStack contributors' -repository_name = 'openstack/training-guides' -bug_project = 'training-guides' +openstackdocs_repo_name = 'openstack/training-guides' +openstackdocs_bug_project = 'training-guides' +openstackdocs_auto_name = False +openstackdocs_auto_version = False +pygments_style = 'native' -# 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. # The repo is not versioned. version = '' # The full version, including alpha/beta/rc tags. diff --git a/doc/upstream-training/source/website/conf.py b/doc/upstream-training/source/website/conf.py index 2ae8d1db..e4a985e6 100644 --- a/doc/upstream-training/source/website/conf.py +++ b/doc/upstream-training/source/website/conf.py @@ -34,10 +34,13 @@ master_doc = 'index' # General information about the project. project = u'Upstream Training Guide' -bug_tag = u'upstream' +openstackdocs_bug_tag = u'upstream' copyright = u'2014-2019, OpenStack contributors' -repository_name = 'openstack/training-guides' -bug_project = 'training-guides' +openstackdocs_repo_name = 'openstack/training-guides' +openstackdocs_bug_project = 'training-guides' +openstackdocs_auto_name = False +openstackdocs_auto_version = False +pygments_style = 'native' # No need to show a version number version = '' diff --git a/test-requirements.txt b/test-requirements.txt index 182c37fd..d72faa8b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,9 +1,8 @@ # 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. -pbr>=1.6 -# hieroglyph 1.0.0 does not work with Sphinx 3.0 -sphinx>=1.6.2,<3.0.0 # BSD -openstackdocstheme>=1.20.0 -hieroglyph>=1.0.0 +pbr>=1.8 +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 +hieroglyph>=2.0.0 doc8 diff --git a/tox.ini b/tox.ini index 73f615c7..baab4a6d 100644 --- a/tox.ini +++ b/tox.ini @@ -9,12 +9,9 @@ basepython = python3 setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/test-requirements.txt whitelist_externals = - echo mkdir rm rsync - msgcat - awk bash [testenv:venv]