File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,9 @@ def setup_parser():
288
288
standard .add_argument ("--no-plot" , dest = "no_plot" ,
289
289
action = "store_true" ,
290
290
help = "do not include graphics auto-generated using the '.. plot' markup" )
291
+ standard .add_argument ("--no-preparsed-examples" , dest = "no_preparsed_examples" ,
292
+ action = "store_true" ,
293
+ help = "do not show preparsed versions of EXAMPLES blocks" )
291
294
standard .add_argument ("--include-tests-blocks" , dest = "skip_tests" , default = True ,
292
295
action = "store_false" ,
293
296
help = "include TESTS blocks in the reference manual" )
@@ -477,6 +480,8 @@ def excepthook(*exc_info):
477
480
build_options .ALLSPHINXOPTS += "-n "
478
481
if args .no_plot :
479
482
os .environ ['SAGE_SKIP_PLOT_DIRECTIVE' ] = 'yes'
483
+ if args .no_preparsed_examples :
484
+ os .environ ['SAGE_PREPARSED_DOC' ] = 'no'
480
485
if args .live_doc :
481
486
os .environ ['SAGE_LIVE_DOC' ] = 'yes'
482
487
if args .skip_tests :
You can’t perform that action at this time.
0 commit comments