Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
DOC: Patch for Read the Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Riddell authored and riddell-stan committed Feb 10, 2021
1 parent fa27e04 commit 22903fc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __getattr__(cls, name):

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'sphinxdoc'
html_theme = 'default'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
1 change: 1 addition & 0 deletions pystan/_chains.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# THIS IS A MOCK FILE FOR READTHEDOCS
1 change: 1 addition & 0 deletions pystan/_misc.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# THIS IS A MOCK FILE FOR READTHEDOCS
7 changes: 3 additions & 4 deletions pystan/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@
import time

import numpy as np
try:
from scipy.stats.mstats import mquantiles
except ImportError:
from pystan.external.scipy.mstats import mquantiles

# READTHEDOCS needs this change
from pystan.external.scipy.mstats import mquantiles

import pystan.chains
import pystan._misc
Expand Down

0 comments on commit 22903fc

Please sign in to comment.