From efe71e22d2e5e29e9b123f0e5ec6e111662be65f Mon Sep 17 00:00:00 2001 From: poolitzer Date: Tue, 10 Feb 2026 23:19:05 +0100 Subject: [PATCH 1/2] Fix: Removing wrong list --- docs/auxil/sphinx_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/auxil/sphinx_hooks.py b/docs/auxil/sphinx_hooks.py index a404fbf95f6..7183a0dbaf7 100644 --- a/docs/auxil/sphinx_hooks.py +++ b/docs/auxil/sphinx_hooks.py @@ -101,7 +101,7 @@ def autodoc_process_docstring( """ # 1) Insert the Keyword Args and "Shortcuts" admonitions for the Bot methods - method_name = name.rsplit(".", maxsplit=1) + method_name = name.rsplit(".", maxsplit=1)[0] if ( name.startswith("telegram.Bot.") and what == "method" From 6bd2869876249e27c6e5bff637a41adf451a811c Mon Sep 17 00:00:00 2001 From: Poolitzer <25934244+Poolitzer@users.noreply.github.com> Date: Tue, 10 Feb 2026 22:21:18 +0000 Subject: [PATCH 2/2] Add chango fragment for PR #5124 --- changes/unreleased/5124.ZMLaT6JfSLD4orqRAqrZXj.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/unreleased/5124.ZMLaT6JfSLD4orqRAqrZXj.toml diff --git a/changes/unreleased/5124.ZMLaT6JfSLD4orqRAqrZXj.toml b/changes/unreleased/5124.ZMLaT6JfSLD4orqRAqrZXj.toml new file mode 100644 index 00000000000..399927a4119 --- /dev/null +++ b/changes/unreleased/5124.ZMLaT6JfSLD4orqRAqrZXj.toml @@ -0,0 +1,5 @@ +other = "Fixing failing sphinx builds" +[[pull_requests]] +uid = "5124" +author_uids = ["Poolitzer"] +closes_threads = []