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

Skip to content

Commit c12480d

Browse files
authored
Merge pull request #15646 from timhoffm/sphinx-gallery-remove-config-comments
Hide sphinx-gallery config comments
2 parents cdb81b6 + 306a4f7 commit c12480d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def _check_dependencies():
135135
'backreferences_dir': 'api/_as_gen',
136136
'subsection_order': gallery_order.sectionorder,
137137
'within_subsection_order': gallery_order.subsectionorder,
138+
'remove_config_comments': True,
138139
'min_reported_time': 1,
139140
}
140141

requirements/doc/doc-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ colorspacious
1212
ipython
1313
ipywidgets
1414
numpydoc>=0.8
15-
sphinx-gallery>=0.2
15+
sphinx-gallery>=0.4
1616
sphinx-copybutton

0 commit comments

Comments
 (0)