diff --git a/dispatcher/backend/src/common/schemas/offliners/mindtouch.py b/dispatcher/backend/src/common/schemas/offliners/mindtouch.py index 602bcb8e4..638eea18a 100644 --- a/dispatcher/backend/src/common/schemas/offliners/mindtouch.py +++ b/dispatcher/backend/src/common/schemas/offliners/mindtouch.py @@ -162,7 +162,6 @@ class Meta: "description": "Number of parallel workers for asset processing. Default: " "10", }, - required=False, data_key="assets-workers", ) @@ -172,6 +171,18 @@ class Meta: metadata={"label": "Debug", "description": "Enable verbose output"}, ) + html_issues_warn_only = fields.Boolean( + truthy=[True], + falsy=[False], + metadata={ + "label": "HTML issues warn only", + "description": "[dev] Only log a warning when unexpected HTML is " + "encountered. Use with caution because activating this option means that " + "ZIM HTML will probably lead to online resources without user noticing it.", + }, + data_key="html-issues-warn-only", + ) + stats_filename = String( metadata={ "label": "Stats filename",