Skip to content

Commit

Permalink
mocking rebound_pymc3
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Sep 26, 2019
1 parent 5643ed4 commit e509246
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
import glob
import os
import subprocess
import sys
from itertools import chain

import sphinx_typlog_theme
from exoplanet_version import __version__ # NOQA

sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

Expand All @@ -23,7 +24,15 @@ def setup(app):
"sphinx.ext.mathjax",
]

autodoc_mock_imports = ["numpy", "scipy", "astropy", "pymc3", "theano", "tqdm"]
autodoc_mock_imports = [
"numpy",
"scipy",
"astropy",
"pymc3",
"theano",
"tqdm",
"rebound_pymc3",
]

# Convert the tutorials
for fn in chain(
Expand Down Expand Up @@ -64,7 +73,6 @@ def setup(app):
"exoplanet",
),
)
from exoplanet_version import __version__ # NOQA

version = __version__
release = __version__
Expand Down

0 comments on commit e509246

Please sign in to comment.