diff options
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py index cea6783..332e75d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -9,6 +9,7 @@ import os import sys +import typing as t # -- Path setup -------------------------------------------------------------- @@ -28,8 +29,7 @@ author = 'Thomas Touhey' def _get_release(): - from pyfingerd.version import version - + from pyfingerd import __version__ as version return version @@ -122,7 +122,7 @@ htmlhelp_basename = 'pyfingerddoc' # -- Options for LaTeX output ------------------------------------------------ -latex_elements = { +latex_elements: t.Dict[str, str] = { # The paper size ('letterpaper' or 'a4paper'). # # 'papersize': 'letterpaper', |