From e5b16b1e0ffe97c321263cc2e9e43d5b5d04aa5d Mon Sep 17 00:00:00 2001 From: ars Date: Thu, 25 Jun 2026 13:23:51 +0300 Subject: [PATCH] fix docs env bug --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 1ebabc9..4c64eeb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,6 +28,9 @@ autodoc_default_options = { "show-inheritance": True, } autodoc_typehints = "description" +# Render default argument values as written in source (e.g. ``os.environ``) +# instead of evaluating them, which would dump the live environment into a signature. +autodoc_preserve_defaults = True # MyST so the existing Markdown guides render as-is. myst_enable_extensions = ["colon_fence", "deflist"]