diff options
| author | John Villalovos <john@sodarock.com> | 2021-05-01 13:01:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-01 13:01:38 -0700 |
| commit | b563cdc1a6cd585647fc53722081dceb6f7b4466 (patch) | |
| tree | c8cbb3c57b1b2206f23887ddd57b76ba68d02bad | |
| parent | e46cacf83ca11e9af5636ce9331c2acb61a9446c (diff) | |
| parent | c3de1fb8ec17f5f704a19df4a56a668570e6fe0a (diff) | |
| download | gitlab-b563cdc1a6cd585647fc53722081dceb6f7b4466.tar.gz | |
Merge pull request #1442 from python-gitlab/chore/fix-readthedocs
chore(docs): fix import order for readthedocs build
| -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" |
