Skip to content

Commit

Permalink
added fulltoc to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oegedijk committed Jun 3, 2020
1 parent a40c05a commit 81d8471
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
Binary file modified .DS_Store
Binary file not shown.
11 changes: 7 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"python.pythonPath": "/usr/local/bin/python3",
"python.pythonPath": "/Users/oege/projects/explainerdashboard/venv/bin/python3",
"python.testing.unittestArgs": [
"-v",
"-s",
"./tests",
"-p",
"test*.py"
],
"python.testing.pytestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.nosetestsEnabled": false,
"python.testing.unittestEnabled": true,
"python.testing.unittestEnabled": false,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"restructuredtext.confPath": "${workspaceFolder}\\docs\\source"
"restructuredtext.confPath": "${workspaceFolder}\\docs\\source",
"python.testing.pytestArgs": [
"tests"
]
}
Binary file added docs/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sphinxcontrib-fulltoc
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autodoc', 'sphinxcontrib.fulltoc'
]

autodoc_mock_imports = ['matplotlib', 'np', 'dash', 'dash_bootstrap_components',
'dash_html_components', 'dash_table', 'dash_core_components',
'dtreeviz', 'numpy', 'pandas', 'pdpbox',
'dtreeviz', 'numpy', 'pandas', 'pd', 'pdpbox',
'sklearn', 'shap', 'plotly']


Expand Down
4 changes: 2 additions & 2 deletions explainerdashboard/make_callables.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class DefaultDfList(pd.DataFrame):
dfl = DefaultDfList(df1)
dfl.source_list = [df1, df2]
"""
_internal_names = pd.DataFrame._internal_names + ['source_list']
_internal_names = list(pd.DataFrame._internal_names) + ['source_list']
_internal_names_set = set(_internal_names)

def __call__(self, index=None):
Expand All @@ -98,7 +98,7 @@ def _constructor(self):


class DefaultSeriesList(pd.Series):
_internal_names = pd.Series._internal_names + ['source_list']
_internal_names = list(pd.Series._internal_names) + ['source_list']
_internal_names_set = set(_internal_names)

def __call__(self, index=None):
Expand Down

0 comments on commit 81d8471

Please sign in to comment.