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(
106
106
extra_dir_handlers = plugin_manager .load_dir_handlers_from_plugins ()
107
107
dir_handlers = ctx .params ["dir_handlers" ] + tuple (extra_dir_handlers )
108
108
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
+ ]
110
113
111
114
slugifier = slugs .slugify (case = "lower" , percent_encode = True )
112
115
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):
448
448
449
449
PATTERN : DirectoryPattern
450
450
451
- DOC : HandlerDoc
451
+ DOC : Union [ HandlerDoc , None ]
452
452
453
453
@classmethod
454
454
def get_dependencies (cls ):
@@ -486,7 +486,7 @@ class Handler(abc.ABC, Generic[TExtractor]):
486
486
487
487
EXTRACTOR : TExtractor
488
488
489
- DOC : HandlerDoc
489
+ DOC : Union [ HandlerDoc , None ]
490
490
491
491
@classmethod
492
492
def get_dependencies (cls ):
You can’t perform that action at this time.
0 commit comments