2
0
Fork 0

docs: use accurate package version when building docs

copyright year will need to be manually updated still, when applicable
This commit is contained in:
Lance Edgar 2024-06-30 20:40:23 -05:00
parent 5096fd6d3c
commit 3ab181b129

View file

@ -6,10 +6,12 @@
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
from importlib.metadata import version as get_version
project = 'WuttJamaican' project = 'WuttJamaican'
copyright = '2023, Lance Edgar' copyright = '2023-2024, Lance Edgar'
author = 'Lance Edgar' author = 'Lance Edgar'
release = '0.1' release = get_version('WuttJamaican')
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration