Skip to content

Commit 113c898

Browse files
committed
Help readthedocs find the vtkplotlib package.
1 parent 1765cc6 commit 113c898

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
3+
python:
4+
version: 3.7
5+
install:
6+
- requirements: docs/requirements.txt
7+
- method: pip
8+
path: .

docs/source/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
# add these directories to sys.path here. If the directory is relative to the
1313
# documentation root, use os.path.abspath to make it absolute, like shown here.
1414
#
15-
# import os
16-
# import sys
17-
# sys.path.insert(0, os.path.abspath('.'))
15+
import os
16+
import sys
17+
sys.path.insert(0, os.path.abspath('../../'))
18+
1819
from sphinx.application import Sphinx
1920

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

readthedocs.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)