7 docker build
-t ghdl
/sphinx
-f- .
<<EOF
9 COPY requirements.txt /
10 RUN pip3 install -r /requirements.txt
13 dcmd
="docker run --rm -u $(id -u) -e PYTHONPATH=//tmp/src/python -v /$(pwd)/..://tmp/src -w //tmp/src/doc"
15 $dcmd ghdl
/sphinx sh
-c "make html latex man"
19 $dcmd btdi
/latex
:latest bash
-c "
22 pdflatex -interaction=nonstopmode GHDL.tex;
23 makeindex -s python.ist GHDL.idx;
24 pdflatex -interaction=nonstopmode GHDL.tex;