Drop workaround for sphinx-feature-classification < 0.4.2

Since 1fb0127663e65dad1c1f000e1dc94e2bc67fed19 was merged in 0.4.2,
sphinx-feature-classification creates the destination directory if it
does not exist.

Change-Id: I17365023804e11581aa77ffe64af5dfca2a4a4c8
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami 2025-07-20 12:22:15 +09:00
parent e066e18abf
commit b45a41f17c
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

@ -113,21 +113,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