@@ -130,7 +130,7 @@ def __post_init__(self):
130130 default_factory = dict ,
131131 metadata = {
132132 "help" : "Custom formats for reading notebook; suffix -> reader" ,
133- "docutils_exclude " : True ,
133+ "omit " : [ "docutils" ] ,
134134 "sections" : (Section .global_lvl , Section .read ),
135135 },
136136 )
@@ -184,7 +184,7 @@ def __post_init__(self):
184184 "validator" : deep_mapping (instance_of (str ), instance_of (str )),
185185 "help" : "Mapping of kernel name regex to replacement kernel name"
186186 "(applied before execution)" ,
187- "docutils_exclude " : True ,
187+ "omit " : [ "docutils" ] ,
188188 "sections" : (Section .global_lvl , Section .execute ),
189189 },
190190 )
@@ -220,7 +220,7 @@ def __post_init__(self):
220220 "validator" : deep_iterable (instance_of (str )),
221221 "help" : "Exclude (POSIX) glob patterns for notebooks" ,
222222 "legacy_name" : "execution_excludepatterns" ,
223- "docutils_exclude " : True ,
223+ "omit " : [ "docutils" ] ,
224224 "sections" : (Section .global_lvl , Section .execute ),
225225 },
226226 )
@@ -387,7 +387,7 @@ def __post_init__(self):
387387 "help" : "Overrides for the base render priority of mime types: "
388388 "list of (builder name, mime type, priority)" ,
389389 # TODO how to allow this in docutils?
390- "docutils_exclude " : True ,
390+ "omit " : [ "docutils" ] ,
391391 "sections" : (Section .global_lvl , Section .file_lvl , Section .render ),
392392 },
393393 repr = False ,
@@ -454,7 +454,7 @@ def __post_init__(self):
454454 metadata = {
455455 "validator" : deep_mapping (instance_of (str ), instance_of ((str , int ))),
456456 "help" : "Options for image outputs (class|alt|height|width|scale|align)" ,
457- "docutils_exclude " : True ,
457+ "omit " : [ "docutils" ] ,
458458 # TODO backward-compatible change to "image_options"?
459459 "cell_key" : "image" ,
460460 "sections" : (
@@ -471,7 +471,7 @@ def __post_init__(self):
471471 metadata = {
472472 "validator" : deep_mapping (instance_of (str ), instance_of ((str , int ))),
473473 "help" : "Options for figure outputs (classes|name|caption|caption_before)" ,
474- "docutils_exclude " : True ,
474+ "omit " : [ "docutils" ] ,
475475 "cell_key" : "figure" ,
476476 "sections" : (
477477 Section .global_lvl ,
@@ -505,7 +505,7 @@ def __post_init__(self):
505505 instance_of (str ), deep_mapping (instance_of (str ), instance_of (str ))
506506 ),
507507 "help" : "Javascript to be loaded on pages containing ipywidgets" ,
508- "docutils_exclude " : True ,
508+ "omit " : [ "docutils" ] ,
509509 "sections" : (Section .global_lvl , Section .render ),
510510 },
511511 repr = False ,
0 commit comments