From 82ed77aa226a81e7b091557ad97a9e58bb0b13c1 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Wynen Date: Tue, 28 May 2024 13:43:22 +0200 Subject: [PATCH] Suppress cache warning --- template/docs/conf.py.jinja | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/docs/conf.py.jinja b/template/docs/conf.py.jinja index 19eff14..713b5ac 100644 --- a/template/docs/conf.py.jinja +++ b/template/docs/conf.py.jinja @@ -37,6 +37,8 @@ try: import sciline.sphinxext.domain_types # noqa: F401 extensions.append('sciline.sphinxext.domain_types') + # See https://github.com/tox-dev/sphinx-autodoc-typehints/issues/457 + suppress_warnings = ["config.cache"] except ModuleNotFoundError: pass {% endif %}