Skip to content

Commit

Permalink
Merge pull request #1442 from python-gitlab/chore/fix-readthedocs
Browse files Browse the repository at this point in the history
chore(docs): fix import order for readthedocs build
  • Loading branch information
JohnVillalovos committed May 1, 2021
2 parents e46cacf + c3de1fb commit b563cdc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Expand Up @@ -18,10 +18,9 @@
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"

Expand Down

0 comments on commit b563cdc

Please sign in to comment.