8000 Revert "ENH Patches sphinx.ext.autosummary for case insensitive file … by thomasjpfan · Pull Request #17780 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Revert "ENH Patches sphinx.ext.autosummary for case insensitive file … #17780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
'sphinx.ext.intersphinx',
'sphinx.ext.imgconverter',
'sphinx_gallery.gen_gallery',
'sphinx_issues',
'custom_autosummary_new_suffix'
'sphinx_issues'
]

# this is needed for some reason...
Expand Down Expand Up @@ -456,16 +455,3 @@ def setup(app):
warnings.filterwarnings("ignore", category=UserWarning,
message='Matplotlib is currently using agg, which is a'
' non-GUI backend, so cannot show the figure.')

# Used by custom extension: `custom_autosummary_new_suffix` to change the
# suffix of the following functions. This works around the issue with
# `sklearn.cluster.dbscan` overlapping with `sklearn.cluster.DBSCAN` on
# case insensitive file systems.
custom_autosummary_names_with_new_suffix = {
'sklearn.cluster.dbscan',
'sklearn.cluster.optics',
'sklearn.covariance.oas',
'sklearn.decomposition.fastica'
}
custom_autosummary_new_suffix = '-lowercase.rst'
custom_autosummary_generated_dirname = os.path.join('modules', 'generated')
88 changes: 0 additions & 88 deletions doc/sphinxext/custom_autosummary_new_suffix.py

This file was deleted.

0