Skip to content

Commit

Permalink
docs/conf.py: fixed version importing
Browse files Browse the repository at this point in the history
  • Loading branch information
sami-m-g committed Apr 3, 2024
1 parent fe9e958 commit 90d0078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

import datetime
import importlib.metadata
from lxmlh import __version__


project = 'lxmlh'
copyright = f'{datetime.date.today().year}, Mina Sami'
author = 'Mina Sami'
version = release = importlib.metadata.version('lxmlh')
version = release = __version__

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

0 comments on commit 90d0078

Please sign in to comment.