debugging a read the docs issue

This commit is contained in:
Mahmoud Hashemi 2015-09-24 11:59:44 -07:00
parent 5c79a8a62d
commit 492f607b85
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ intersphinx_mapping = {'python': ('https://docs.python.org/2.7', None)}
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
from pprint import pprint
pprint(os.environ) # tmp
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme