Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37ec108

Browse files
authored
Merge pull request #27900 from dstansby/rm-empty-page
Remove empty user guide tutorials page
2 parents 772b213 + 434f766 commit 37ec108

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

doc/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ def _parse_skip_subdirs_file():
130130
]
131131

132132
exclude_patterns = [
133-
'api/prev_api_changes/api_changes_*/*', '**/*inc.rst']
133+
'api/prev_api_changes/api_changes_*/*',
134+
'**/*inc.rst',
135+
'users/explain/index.rst' # Page has no content, but required by sphinx gallery
136+
]
134137

135138
exclude_patterns += skip_subdirs
136139

doc/users/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,5 @@ Using Matplotlib
101101
.. toctree::
102102
:hidden:
103103

104-
explain/index
105104
getting_started/index
106105
installing/index

galleries/users_explain/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
.. _users-guide-explain:
1+
..
2+
This page is required by sphinx-gallery,
3+
but is not rendered in the final doc build.
24
35
====================
46
User guide tutorials

0 commit comments

Comments
 (0)