summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 0e2c6b2cd..8e1550798 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -14,7 +14,6 @@
import sys
import os
import datetime
-import inspect
import warnings
warnings.simplefilter('ignore', DeprecationWarning)
@@ -385,20 +384,8 @@ def setup(app):
app.add_directive('frontmatter', FrontMatter)
app.add_directive('mainmatter', MainMatter)
app.add_directive('backmatter', BackMatter)
- app.connect('autodoc-process-signature', resig)
-def resig(app, what, name, obj, options, signature, return_annotation):
- """ Allow for preservation of ``@action_method`` decorated methods
- in configurator """
- docobj = getattr(obj, '__docobj__', None)
- if docobj is not None:
- argspec = inspect.getargspec(docobj)
- if argspec[0] and argspec[0][0] in ('cls', 'self'):
- del argspec[0][0]
- signature = inspect.formatargspec(*argspec)
- return signature, return_annotation
-
# turn off all line numbers in latex formatting
## from pygments.formatters import LatexFormatter
@@ -452,5 +439,5 @@ epub_tocdepth = 3
linkcheck_ignore = [
r'http://localhost:\d+',
r'http://localhost',
- r'https://webchat.freenode.net/#pyramid', # JavaScript "anchor"
+ r'https://web.libera.chat/#pyramid', # JavaScript "anchor"
]