Update docs building

Update docs building:
* Switch to sphinx-build, fix build problem
* Update requirements for Sphinx and openstackdocstheme for
  python 3
* Remove unneeded doc sections from setup.cfg

Change-Id: Ib36a271e9a8704f96920bb00573775fb22f33f08
This commit is contained in:
Andreas Jaeger 2020-04-22 08:58:59 +02:00 committed by Andreas Jaeger
parent 75baf20398
commit 66336d5c59
5 changed files with 6 additions and 19 deletions

View File

@ -1,4 +1,3 @@
sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD
sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD
openstackdocstheme>=1.30.0 # Apache-2.0
sphinx>=2.0.0,!=2.1.0 # BSD
openstackdocstheme>=2.0.0 # Apache-2.0
texttable

View File

@ -1,4 +1,4 @@
.. _node-configuration:
.. _getting_started:
Getting started with TripleO-Quickstart
=======================================

View File

@ -14,15 +14,6 @@ classifier =
Intended Audience :: Information Technology
Topic :: Utilities
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
[global]
setup-hooks =
pbr.hooks.setup_hook
[files]
data_files =
usr/local/share/tripleo-quickstart/roles = roles/*
@ -31,9 +22,6 @@ data_files =
playbooks = playbooks/*
config/ = config/*
[wheel]
universal = 1
[pbr]
skip_authors = True
skip_changelog = True

View File

@ -1,7 +1,7 @@
openstackdocstheme>=1.11.0 # Apache-2.0
openstackdocstheme>=2.0.0 # Apache-2.0
docutils>=0.11
sphinx>=1.6.2 # BSD
sphinx>=2.0.0,!=2.1.0 # BSD
reno>=1.8.0 # Apache-2.0
pre-commit # MIT
texttable

View File

@ -49,7 +49,7 @@ basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands =
bash -c 'python fs-matrix.py > doc/source/feature-configuration-generated.rst'
python setup.py build_sphinx
sphinx-build -W -b html doc/source doc/build/html
[testenv:bashate]
envdir = {toxworkdir}/linters