docs: use accurate package version when building docs
copyright year will need to be manually updated still, when applicable
This commit is contained in:
parent
5096fd6d3c
commit
3ab181b129
|
@ -6,10 +6,12 @@
|
|||
# -- Project information -----------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
||||
|
||||
from importlib.metadata import version as get_version
|
||||
|
||||
project = 'WuttJamaican'
|
||||
copyright = '2023, Lance Edgar'
|
||||
copyright = '2023-2024, Lance Edgar'
|
||||
author = 'Lance Edgar'
|
||||
release = '0.1'
|
||||
release = get_version('WuttJamaican')
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||
|
|
Loading…
Reference in a new issue