diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-05-01 21:39:14 +0200 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-05-01 21:39:14 +0200 |
commit | c3de1fb8ec17f5f704a19df4a56a668570e6fe0a (patch) | |
tree | c8cbb3c57b1b2206f23887ddd57b76ba68d02bad /docs/conf.py | |
parent | e46cacf83ca11e9af5636ce9331c2acb61a9446c (diff) | |
download | gitlab-c3de1fb8ec17f5f704a19df4a56a668570e6fe0a.tar.gz |
chore(docs): fix import order for readthedocs build
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index fa14e6f..5fb760b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,10 +18,9 @@ from __future__ import unicode_literals import os import sys -import gitlab - sys.path.append("../") sys.path.append(os.path.dirname(__file__)) +import gitlab # noqa: E402. Needed purely for readthedocs' build on_rtd = os.environ.get("READTHEDOCS", None) == "True" |