From 36c258c83532f0d56032da43447acf647515842f Mon Sep 17 00:00:00 2001 From: dasm Date: Thu, 9 Oct 2025 19:51:08 -0700 Subject: [PATCH] Switch to bar syntax for unions in our docs. --- doc/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 62abb84..f9c801e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -103,6 +103,9 @@ def autoapi_prepare_jinja_env(jinja_env): autodoc_typehints = "description" autodoc_member_order = "bysource" +# Autodoc typehints settings +always_use_bars_union = True + # General settings master_doc = "index" exclude_patterns = ["templates"]