Change documentation configuration

This patch makes sure that the html documentation is generated with
alabaster theme.

Change-Id: Id2f13d44100a1eeb97670ea49f600d29119258e9
This commit is contained in:
lpiwowar 2021-10-12 14:13:07 +02:00
parent 80549788ea
commit 9b8892c2dd
2 changed files with 4 additions and 3 deletions

View File

@ -33,7 +33,7 @@ extensions = [
] ]
# openstackdocstheme options # openstackdocstheme options
repository_name = 'osf/refstack-client' openstackdocs_repo_name = 'osf/refstack-client'
bug_project = '879' bug_project = '879'
bug_tag = '' bug_tag = ''
@ -105,7 +105,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # 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 # 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 # further. For a list of options available for each theme, see the

View File

@ -44,7 +44,8 @@ commands =
[testenv:docs] [testenv:docs]
basepython = python3 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 commands = sphinx-build -b html doc/source doc/build/html
[flake8] [flake8]