Skip to content

Commit

Permalink
fix some methods and classes missing from readthedocs documentation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
imatiach-msft authored Mar 14, 2022
1 parent 33ca855 commit 89fd188
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@
'sphinx.ext.extlinks'
]
# eventually we may be able to use intersphinx for these! TODO
autodoc_mock_imports = ['shap', 'shap.common', 'interpret', 'interpret.utils']
autodoc_mock_imports = ['interpret', 'interpret.utils', 'ml_wrappers']

# enable links to objects in the other standard libraries, e.g., list and str in the Python standard library
intersphinx_mapping = {
'Python': ('https://docs.python.org/3', None),
'NumPy': ('https://docs.scipy.org/doc/numpy/', None),
'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
'SciPy': ('https://docs.scipy.org/doc/scipy/reference', None),
'sklearn': ('https://scikit-learn.org/stable', None)
'sklearn': ('https://scikit-learn.org/stable', None),
'shap': ('https://shap.readthedocs.io/en/stable', None)
}

# Add any paths that contain templates here, relative to this directory.
Expand Down
1 change: 1 addition & 0 deletions requirements-doc.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sphinx==4.3.0
pyyaml

0 comments on commit 89fd188

Please sign in to comment.