8000 Revert "ENH Patches sphinx.ext.autosummary for case insensitive file … · jayzed82/scikit-learn@12da2c2 · GitHub 10000
[go: up one dir, main page]

Skip to content

Commit 12da2c2

Browse files
thomasjpfanjayzed82
authored andcommitted
Revert "ENH Patches sphinx.ext.autosummary for case insensitive file systems (scikit-learn#13022)" (scikit-learn#17780)
This reverts commit 8a695d7.
1 parent af250f7 commit 12da2c2

File tree

2 files changed

+1
-103
lines changed

2 files changed

+1
-103
lines changed

doc/conf.py

Expand all lines: doc/conf.py
Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
'sphinx.ext.intersphinx',
4141
'sphinx.ext.imgconverter',
4242
'sphinx_gallery.gen_gallery',
43-
'sphinx_issues',
44-
'custom_autosummary_new_suffix'
43+
'sphinx_issues'
4544
]
4645

4746
# this is needed for some reason...
@@ -456,16 +455,3 @@ def setup(app):
456455
warnings.filterwarnings("ignore", category=UserWarning,
457456
message='Matplotlib is currently using agg, which is a'
458457
' non-GUI backend, so cannot show the figure.')
459-
460-
# Used by custom extension: `custom_autosummary_new_suffix` to change the
461-
# suffix of the following functions. This works around the issue with
462-
# `sklearn.cluster.dbscan` overlapping with `sklearn.cluster.DBSCAN` on
463-
# case insensitive file systems.
464-
custom_autosummary_names_with_new_suffix = {
465-
'sklearn.cluster.dbscan',
466-
'sklearn.cluster.optics',
467-
'sklearn.covariance.oas',
468-
'sklearn.decomposition.fastica'
469-
}
470-
custom_autosummary_new_suffix = '-lowercase.rst'
471-
custom_autosummary_generated_dirname = os.path.join('modules', 'generated')

doc/sphinxext/custom_autosummary_new_suffix.py

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0