[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:
parent
e6c4f3c22d
commit
967eef2d55
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue