From 704639d5e758b0d8a2b7efdb07a7e7df1b3b60b0 2023-05-20 10:30:25 From: krassowski <5832902+krassowski@users.noreply.github.com> Date: 2023-05-20 10:30:25 Subject: [PATCH] Fix documentation generation with pass-through filters --- diff --git a/docs/autogen_shortcuts.py b/docs/autogen_shortcuts.py index 387c105..23b4711 100755 --- a/docs/autogen_shortcuts.py +++ b/docs/autogen_shortcuts.py @@ -88,6 +88,8 @@ def format_filter( return result elif s in ["Never", "Always"]: return s.lower() + elif s == "PassThrough": + return "pass_through" else: raise ValueError(f"Unknown filter type: {filter_}")