File: 0004-remove-sphinxcontrib.towncrier-for-now.patch

package info (click to toggle)
python-aiohttp 3.11.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,156 kB
  • sloc: python: 51,898; ansic: 20,843; makefile: 395; javascript: 31; sh: 3
file content (67 lines) | stat: -rw-r--r-- 1,951 bytes parent folder | download
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
From: =?utf-8?q?Piotr_O=C5=BCarowski?= <piotr@debian.org>
Date: Wed, 14 Aug 2024 17:49:59 +0100
Subject: Remove sphinxcontrib.towncrier for now

The upstream sdist doesn't ship the `CHANGES/` directory.
---
 docs/changes.rst      | 8 +-------
 docs/conf.py          | 2 +-
 docs/contributing.rst | 2 +-
 docs/index.rst        | 2 +-
 4 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/docs/changes.rst b/docs/changes.rst
index 8c7a9bb..9b8cb7e 100644
--- a/docs/changes.rst
+++ b/docs/changes.rst
@@ -9,10 +9,4 @@ Changelog
    To be included in v\ |release| (if present)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-   .. towncrier-draft-entries:: |release| [UNRELEASED DRAFT]
-
-   Released versions
-   ^^^^^^^^^^^^^^^^^
-
-.. include:: ../CHANGES.rst
-   :start-after: .. towncrier release notes start
+Temporarily removed in Debian, sorry.
diff --git a/docs/conf.py b/docs/conf.py
index 8081e9e..e3add7f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -59,7 +59,7 @@ extensions = [
     "sphinx.ext.intersphinx",
     "sphinx.ext.viewcode",
     # Third-party extensions:
-    "sphinxcontrib.towncrier.ext",  # provides `towncrier-draft-entries` directive
+    # "sphinxcontrib.towncrier.ext",  # provides `towncrier-draft-entries` directive
 ]
 
 
diff --git a/docs/contributing.rst b/docs/contributing.rst
index 9abd367..b1a6a97 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -273,7 +273,7 @@ include a changelog entry.
 Changelog update
 ----------------
 
-.. include:: ../CHANGES/README.rst
+Temporarily removed in Debian, sorry.
 
 
 Making a pull request
diff --git a/docs/index.rst b/docs/index.rst
index 4ce20ac..1518c6c 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -124,7 +124,7 @@ will:
 What's new in aiohttp 3?
 ========================
 
-Go to :ref:`aiohttp_whats_new_3_0` page for aiohttp 3.0 major release
+Go to aiohttp_whats_new_3_0 page for aiohttp 3.0 major release
 changes.