Fix docs build
This commit is contained in:
parent
f8ad87c222
commit
b7e0a2bc33
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue