Fix docs build

This commit is contained in:
Alessio Bogon 2022-08-14 10:01:51 +02:00
parent f8ad87c222
commit b7e0a2bc33
1 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@
import os
import sys
from importlib import metadata
sys.path.insert(0, os.path.abspath(".."))
@ -51,9 +52,9 @@ copyright = "2013, Oleg Pidsadnyi"
# built documents.
#
# The short X.Y version.
version = pytest_bdd.__version__
version = metadata.version("pytest-factoryboy")
# The full version, including alpha/beta/rc tags.
release = pytest_bdd.__version__
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.