Skip to content

Commit

Permalink
Add option to fail docs build on gallery example execution error
Browse files Browse the repository at this point in the history
  • Loading branch information
melissawm committed Oct 27, 2023
1 parent 0c6a12b commit e320785
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ def napari_scraper(block, block_vars, gallery_conf):
'plot_gallery': "'True'", # https://github.com/sphinx-gallery/sphinx-gallery/pull/304/files
'download_all_examples': False,
'min_reported_time': 10,
'only_warn_on_example_error': True,
'only_warn_on_example_error': False,
'abort_on_example_error': True,
'image_scrapers': ("matplotlib", napari_scraper,),
'reset_modules': (reset_napari,),
'reference_url': {'napari': None},
Expand Down

0 comments on commit e320785

Please sign in to comment.