Update sphinx_autodoc_typehints to version 1.5.2

This commit is contained in:
Alexander Graf
2018-12-13 16:22:36 +01:00
parent 6212d22e26
commit 1ab9e44104
2 changed files with 38 additions and 13 deletions

View File

@@ -20,6 +20,7 @@
import os
import subprocess
import sys
import typing
import sphinx_bootstrap_theme
@@ -374,6 +375,7 @@ html_context = {'current_release': current_release, 'current_release_date': curr
def setup(app):
typing.TYPE_CHECKING = True
app.add_stylesheet("style.css")
app.connect('autodoc-process-signature', sphinx_autodoc_typehints.process_signature)
app.connect('autodoc-process-docstring', sphinx_autodoc_typehints.process_docstring)