From e5214620f4747ed85326215f058bffe9bf0ab233 Mon Sep 17 00:00:00 2001 From: Remco de Boer Date: Fri, 12 Mar 2021 12:22:51 +0100 Subject: [PATCH] ci: allow running notebooks through tox doclive (#225) * ci: add more --re-ignores to sphinx-autobuild * ci: equalize tox.ini with expertsystem --- tox.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tox.ini b/tox.ini index 65ac9211..e27d51bb 100644 --- a/tox.ini +++ b/tox.ini @@ -43,12 +43,21 @@ description = allowlist_externals = sphinx-autobuild passenv = + EXECUTE_NB TERM commands = sphinx-autobuild \ --watch docs \ --watch src \ + --re-ignore .*/.ipynb_checkpoints/.* \ + --re-ignore .*/__pycache__/.* \ + --re-ignore docs/.*\.csv \ + --re-ignore docs/.*\.gv \ --re-ignore docs/.*\.inv \ + --re-ignore docs/.*\.json \ + --re-ignore docs/.*\.pickle \ + --re-ignore docs/.*\.yaml \ + --re-ignore docs/.*\.yml \ --re-ignore docs/_build/.* \ --re-ignore docs/api/.* \ --open-browser \ @@ -136,6 +145,7 @@ ignore = # more info: https://www.flake8rules.com/ W503 # https://github.com/psf/black#line-breaks--binary-operators rst-roles = attr, + cite, class, doc, download, @@ -148,6 +158,8 @@ rst-directives = deprecated, envvar, exception, + glue:figure, + glue:math, seealso, [pydocstyle]