File: sphinx-no-trio-extension.diff

package info (click to toggle)
python-async-generator 1.10-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 292 kB
  • sloc: python: 1,253; makefile: 19
file content (24 lines) | stat: -rw-r--r-- 633 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
Description: do not use sphinxcontrib_trio, not packaged in Debian.
Author: Nicolas Boulenguez <nicolas@debian.org>
Forwarded: not-needed

--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -44,7 +44,6 @@
     'sphinx.ext.intersphinx',
     'sphinx.ext.coverage',
     'sphinx.ext.napoleon',
-    'sphinxcontrib_trio',
 ]
 
 intersphinx_mapping = {
--- a/docs/source/reference.rst
+++ b/docs/source/reference.rst
@@ -164,7 +164,6 @@
 covered:
 
 .. function:: asynccontextmanager
-   :decorator:
 
    This is a backport of :func:`contextlib.asynccontextmanager`, which
    wasn't added to the standard library until Python 3.7.