mirror of
https://github.com/instaloader/instaloader.git
synced 2026-10-16 13:48:03 -07:00
Update sphinx_autodoc_typehints to version 1.5.2
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user