Skip to content

Commit

Permalink
setting env variable in conf
Browse files Browse the repository at this point in the history
  • Loading branch information
nvaytet committed May 26, 2020
1 parent cfe0225 commit 1fe8189
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ python:
version: 3.7
install:
- requirements: docs/requirements.txt
- method: pip
path: src
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@

import os
import sys
sys.path.insert(0, os.path.abspath('../src'))

src = os.path.abspath('../src')
os.environ['PYTHONPATH'] = src
sys.path.insert(0, src)

# -- Project information -----------------------------------------------------

Expand Down

0 comments on commit 1fe8189

Please sign in to comment.