Merge "Drop workaround for sphinx-feature-classification < 0.4.2"

This commit is contained in:
Zuul 2025-12-16 14:22:05 +00:00 committed by Gerrit Code Review
commit c3bfa0924d
2 changed files with 1 additions and 12 deletions

View file

@ -1,10 +1,7 @@
# 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.
openstackdocstheme>=2.2.1 # Apache-2.0
sphinx>=2.0.0,!=2.1.0 # BSD
sphinxcontrib-apidoc>=0.2.0 # BSD
sphinx-feature-classification>=0.3.2 # Apache-2.0
sphinx-feature-classification>=0.4.2 # Apache-2.0
reno>=3.1.0 # Apache-2.0
python-ldap>=3.0.0 # PSF
ldappool>=2.0.0 # MPL

View file

@ -102,21 +102,13 @@ commands=
bash -c "rm -rf doc/source/api"
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
# FIXME(gyee): we need to pre-create the doc/build/pdf/_static directory as a
# workaround because sphinx_feature_classification.support_matrix extension
# is operating under the assumption that the _static directory already exist
# and trying to copy support-matrix.css into it. We need to remove
# the workaround after this patch has merged:
# https://review.opendev.org/#/c/679860
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals =
make
mkdir
rm
commands =
rm -rf doc/build/pdf
mkdir -p doc/build/pdf/_static
sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf