From 72c9a15f1368768bd49ca912b9de579d75dbb9d7 Mon Sep 17 00:00:00 2001 From: Sebastian Gode Date: Tue, 18 Apr 2023 12:15:56 +0000 Subject: [PATCH] Update tox --- otc_metadata/templates/tox.ini.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/otc_metadata/templates/tox.ini.j2 b/otc_metadata/templates/tox.ini.j2 index f8316308..e6ecf9d4 100644 --- a/otc_metadata/templates/tox.ini.j2 +++ b/otc_metadata/templates/tox.ini.j2 @@ -29,7 +29,11 @@ allowlist_externals = mkdir cp sh + rm + sphinx-build commands = + rm -rf doc/build/html doc/build/doctrees + sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html {%- for doc in docs %} {[testenv:{{ doc.type }}]commands} {[testenv:json-{{ doc.type }}]commands} @@ -115,3 +119,7 @@ commands = cp {{ loc }}/build/pdf/{{ doc.pdf_name }}.pdf doc/build/pdf/ {% endif %} {% endfor %} + +[doc8] +ignore = D001 +extensions = .rst, .yaml \ No newline at end of file