Auto copy PDFs to HTML folder for Zuul to upload #293

Merged
zuul merged 1 commits from add_pdf_copy_to_html into main 2025-02-07 10:14:07 +00:00

View File

@ -58,6 +58,7 @@ allowlist_externals =
cp cp
commands = commands =
mkdir -p doc/build/pdf mkdir -p doc/build/pdf
mkdir -p doc/build/html
{[testenv:bindeps]commands} {[testenv:bindeps]commands}
mkdir -p {toxinidir}/_templates mkdir -p {toxinidir}/_templates
wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja
@ -127,6 +128,7 @@ commands =
make -C {{ loc }}/build/pdf make -C {{ loc }}/build/pdf
mkdir -p doc/build/pdf mkdir -p doc/build/pdf
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/ cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/html/
{% endfor %} {% endfor %}
[testenv:bindeps] [testenv:bindeps]