Skip to content

Commit 90d0078

Browse files
committed
docs/conf.py: fixed version importing
1 parent fe9e958 commit 90d0078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88

99
import datetime
10-
import importlib.metadata
10+
from lxmlh import __version__
1111

1212

1313
project = 'lxmlh'
1414
copyright = f'{datetime.date.today().year}, Mina Sami'
1515
author = 'Mina Sami'
16-
version = release = importlib.metadata.version('lxmlh')
16+
version = release = __version__
1717

1818
# -- General configuration ---------------------------------------------------
1919
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

0 commit comments

Comments
 (0)