File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,10 @@ def build_handlers_doc(
106106 extra_dir_handlers = plugin_manager .load_dir_handlers_from_plugins ()
107107 dir_handlers = ctx .params ["dir_handlers" ] + tuple (extra_dir_handlers )
108108
109- all_handlers = handlers + dir_handlers
109+ # we only want handler with a valid DOC entry
110+ all_handlers = [
111+ handler for handler in handlers + dir_handlers if handler .DOC is not None
112+ ]
110113
111114 slugifier = slugs .slugify (case = "lower" , percent_encode = True )
112115 format_table_headers = """ | Format | Type | Fully supported? |\n | :------------ | :----------------------------------- | :-----------------: |\n """
Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ class DirectoryHandler(abc.ABC):
448448
449449 PATTERN : DirectoryPattern
450450
451- DOC : HandlerDoc
451+ DOC : Union [ HandlerDoc , None ]
452452
453453 @classmethod
454454 def get_dependencies (cls ):
@@ -486,7 +486,7 @@ class Handler(abc.ABC, Generic[TExtractor]):
486486
487487 EXTRACTOR : TExtractor
488488
489- DOC : HandlerDoc
489+ DOC : Union [ HandlerDoc , None ]
490490
491491 @classmethod
492492 def get_dependencies (cls ):
You can’t perform that action at this time.
0 commit comments