Skip to content

Commit 691d15b

Browse files
committed
Enable html to be rendered on readthedocs
Per comment: readthedocs/readthedocs.org#4765 (comment)
1 parent 5161074 commit 691d15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx_gallery/gen_rst.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __exit__(self, type_, value, tb):
163163
"""
164164

165165
# Header used to include raw html
166-
html_header = """.. only:: builder_html
166+
html_header = """.. only:: builder_html or readthedocs
167167
168168
.. raw:: html
169169

0 commit comments

Comments
 (0)