Skip to content

Commit f37acd1

Browse files
committed
Revert "Disable gallery generation"
This reverts commit 27dcdc9.
1 parent 53a6dc4 commit f37acd1

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/conf.py

+8-9
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# import os
1414
# import sys
1515
# sys.path.insert(0, os.path.abspath('.'))
16-
# import qtgallery
16+
import qtgallery
1717

1818
# -- Project information -----------------------------------------------------
1919

@@ -30,7 +30,7 @@
3030
extensions = [
3131
"numpydoc",
3232
"sphinx_gallery.gen_gallery",
33-
# "qtgallery",
33+
"qtgallery",
3434
"sphinx_automodapi.automodapi",
3535
"sphinx_automodapi.smart_resolver",
3636
"sphinx.ext.intersphinx",
@@ -42,13 +42,12 @@
4242
"reset_modules": (qtgallery.reset_qapp,),
4343
}
4444

45-
46-
# qtgallery_conf = {
47-
# "xvfb_size": (640, 480),
48-
# "xvfb_color_depth": 24,
49-
# "xfvb_use_xauth": False,
50-
# "xfvb_extra_args": [],
51-
# }
45+
qtgallery_conf = {
46+
"xvfb_size": (640, 480),
47+
"xvfb_color_depth": 24,
48+
"xfvb_use_xauth": False,
49+
"xfvb_extra_args": [],
50+
}
5251

5352
numpydoc_show_class_members = False
5453
automodapi_inheritance_diagram = False

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ docs =
5050
napari[all]
5151
numpydoc
5252
pydata-sphinx-theme
53+
qtgallery
5354
sphinx
5455
sphinx-automodapi
5556
sphinx-gallery

0 commit comments

Comments
 (0)