Skip to content

Commit

Permalink
make docs work (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpchen authored and fritzo committed Feb 24, 2018
1 parent bb6e919 commit a66d8cd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sphinx_rtd_theme
import re
import os
import sys

# import pkg_resources

Expand All @@ -22,9 +23,7 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../..'))

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -186,3 +185,10 @@ def skip(app, what, name, obj, skip, options):
def setup(app):
app.connect("autodoc-skip-member", skip)
"""

# awful hack to get rtd builder to install pytorch
os.system('pip install awscli')
os.system('aws s3 --no-sign-request sync s3://pyro-ppl/ci tmp --exclude "*" --include "*-cp27-*";')
os.system('pip install tmp/*')
os.system('rm -r tmp')
os.system('pip install -e .[test]')

0 comments on commit a66d8cd

Please sign in to comment.