diff options
| author | Steve Piercy <web@stevepiercy.com> | 2022-08-12 06:26:51 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2022-08-12 06:26:51 -0700 |
| commit | bdbb8c408566f1a4009d7a8dd32f72719c1f3849 (patch) | |
| tree | 544d1b4ea2c7e40b79fb91f96f4d848743129f2e /docs/conf.py | |
| parent | 4d963930e03e26f6b831eae81ee93f2aa8271ff7 (diff) | |
| parent | 1e439035e41da3767acbcae79689fb05dfdeb317 (diff) | |
| download | pyramid-bdbb8c408566f1a4009d7a8dd32f72719c1f3849.tar.gz pyramid-bdbb8c408566f1a4009d7a8dd32f72719c1f3849.tar.bz2 pyramid-bdbb8c408566f1a4009d7a8dd32f72719c1f3849.zip | |
Merge branch 'master' of https://github.com/Pylons/pyramid
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 15 |
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" ] |
