diff --git a/doc/conf.py b/doc/conf.py index 0dd2e847..8b86fabe 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -35,6 +35,7 @@ import sys # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath("..")) +sys.path.insert(0, os.path.abspath(".")) from importlib.metadata import version # noqa: E402, isort:skip setupVersion = version("pygithub")