[release-monitoring] Fix docs building

The docs doesn't build with sphinxcontrib-httpdomain 1.7.0 that is available in
Fedora, we need to use version from PyPI to make it work.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2023-04-25 15:27:29 +02:00
parent 1a18cd1751
commit a853ba0a77

View file

@ -36,7 +36,6 @@ items:
python3-pip \
python3-psycopg2 \
python3-semver \
python3-sphinxcontrib-httpdomain \
python3-sqlalchemy \
python3-sqlalchemy_schemadisplay \
python3-sseclient \
@ -45,6 +44,9 @@ items:
python3-wtforms && \
dnf autoremove -y && \
dnf clean all -y
# This is needed because the version 1.7.0 currently available in Fedora
# doesn't work with sphinx 5+ and fails when building documentation
RUN pip-3 install sphinxcontrib-httpdomain
RUN git clone https://github.com/fedora-infra/anitya.git && \
pushd anitya && \
{% if env == 'staging' %}