Skip to content

Commit

Permalink
Update version retrieval in conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Blank committed Nov 9, 2023
1 parent ae16dc0 commit efcbe08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

from importlib.metadata import version
import importlib.metadata

_python_project_name = "lrclibapi"
version = importlib.metadata.version(_python_project_name)
project = "LRCLib Python API"
copyright = "2023, Dr-Blank"
author = "Dr-Blank"
release = version(_python_project_name)
release = version

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

0 comments on commit efcbe08

Please sign in to comment.