[3of3]bin/convert-wrapper: workaround for sphinx.ext.imgconverter (Dockerfile)

This workaround exists because Sphinx wants to download the
TravisCI SVG badge (due to a URL listed in older documentation content),
but that URL is returning HTML content (maybe under HTTP/404) and the
Sphinx image processing terminates the documentation generation due
to an SVG parse error of the HTML document.

Ensure to use: source bin/setup_env.sh

Original patch split to help with cherry-pick into other branches.
This commit is contained in:
Darryl L. Miles 2023-05-06 15:48:16 +01:00
parent e6c4f3c22d
commit 967eef2d55
2 changed files with 6 additions and 0 deletions

View File

@ -11,5 +11,8 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apb/lists/*
# source /docs/bin/setup_env.sh
ENV PATH="$PATH:/docs/bin"
ADD requirements.txt /docs
RUN pip3 install -r requirements.txt

View File

@ -17,5 +17,8 @@ RUN git config --global safe.directory '*'
RUN npm i wavedrom-cli -g
# source /docs/bin/setup_env.sh
ENV PATH="$PATH:/docs/bin"
ADD requirements.txt /docs
RUN pip3 install -r requirements.txt