Skip to content

Commit

Permalink
hotfix: try different sphinx version to fix issue as per: readthedocs…
Browse files Browse the repository at this point in the history
  • Loading branch information
asampat3090 committed May 6, 2018
1 parent 3fb57e9 commit ec851ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@
github_doc_root = 'https://github.com/datmo/datmo/tree/master/docs/'

def setup(app):
app.connect('builder-inited', run_apidoc)
app.add_config_value('recommonmark_config', {
'url_resolver': lambda url: github_doc_root + url,
'auto_toc_tree_section': 'Contents',
}, True)
app.add_transform(AutoStructify)
app.connect('builder-inited', run_apidoc)

def run_apidoc(_):
from sphinx.apidoc import main
Expand Down
4 changes: 2 additions & 2 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- python=2.7
- sphinx
- sphinx-argparse
- sphinx=1.7.0
- sphinx-argparse=0.2.2
- pip:
- autodocsumm

0 comments on commit ec851ad

Please sign in to comment.