diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d825e855..efff237b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -16,3 +16,4 @@ python: install: - requirements: dependencies/default/constraints.txt - requirements: dependencies/docs/constraints.txt + - path: . diff --git a/docs/source/conf.py b/docs/source/conf.py index 4bb6535d..62a48a45 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -6,10 +6,12 @@ # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information +import importlib.metadata + project = "pytest-asyncio" copyright = "2023, pytest-asyncio contributors" author = "Tin Tvrtković" -release = "v0.23.0" +release = importlib.metadata.version(project) # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration