1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: Ian Stapleton Cordasco <graffatcolmingov@gmail.com>
Date: Thu, 21 Mar 2024 10:31:09 -0500
Subject: Fix documentation building
Origin: upstream, https://github.com/requests/toolbelt/commit/30e7a59c9d50149be56bc9897608fa5bf3fe9096
Bug-Debian: https://bugs.debian.org/1090160
Last-Update: 2024-12-17
---
docs/conf.py | 2 +-
docs/sessions.rst | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 9f45876..b7f3b26 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -268,4 +268,4 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'https://docs.python.org/': None}
+intersphinx_mapping = {'python': ('https://docs.python.org/', None)}
diff --git a/docs/sessions.rst b/docs/sessions.rst
index 924e6dc..ba08b33 100644
--- a/docs/sessions.rst
+++ b/docs/sessions.rst
@@ -20,5 +20,4 @@ specified so all future requests need not specify the complete URL. To create
one simplified and easy to configure version, we've added the
:class:`requests_toolbelt.sessions.BaseUrlSession` object to the Toolbelt.
-.. autoclass:: requests_toolbelt.sessions.BaseUrlSession
- :members:
+.. class:: requests_toolbelt.sessions.BaseUrlSession
|