From 42363867f4e070fd65c17072d08ce46990f526d5 Mon Sep 17 00:00:00 2001 From: Jacob Beel <54082169+jdbeel@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:22:20 -0400 Subject: [PATCH] 21631: Updates autosummary templates to avoid clobbering standard library (#81) --- source/_templates/custom_module_template.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_templates/custom_module_template.rst b/source/_templates/custom_module_template.rst index b4eef64..d46128a 100644 --- a/source/_templates/custom_module_template.rst +++ b/source/_templates/custom_module_template.rst @@ -1,5 +1,7 @@ {{ fullname | escape | underline }} +.. currentmodule:: {{ fullname }} + {% block modules %} {% if modules %} .. rubric:: Submodules