File: sphinx-8.0.patch

package info (click to toggle)
python-requests-toolbelt 1.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 876 kB
  • sloc: python: 3,653; makefile: 166; sh: 7
file content (33 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download | duplicates (2)
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