From 9b8892c2dd2e73ff8bc6c16e81f7857df2ebcf56 Mon Sep 17 00:00:00 2001 From: lpiwowar Date: Tue, 12 Oct 2021 14:13:07 +0200 Subject: [PATCH] Change documentation configuration This patch makes sure that the html documentation is generated with alabaster theme. Change-Id: Id2f13d44100a1eeb97670ea49f600d29119258e9 --- doc/source/conf.py | 4 ++-- tox.ini | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 33133f4..2e40981 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -33,7 +33,7 @@ extensions = [ ] # openstackdocstheme options -repository_name = 'osf/refstack-client' +openstackdocs_repo_name = 'osf/refstack-client' bug_project = '879' bug_tag = '' @@ -105,7 +105,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'openstackdocs' +html_theme = 'alabaster' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/tox.ini b/tox.ini index 3eebfb1..7958b0f 100644 --- a/tox.ini +++ b/tox.ini @@ -44,7 +44,8 @@ commands = [testenv:docs] basepython = python3 -deps = -r{toxinidir}/doc/requirements.txt +deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/doc/requirements.txt commands = sphinx-build -b html doc/source doc/build/html [flake8]