Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
check_help_documentation: Fix HelpDocumentationSpider._is_external_url.
Anders Kaseorga914c8e53f3a
diff --git a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.pyindex 4716488d088..6b0ff64dd57 100644--- a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py+++ b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py@@ -48,6 +48,10 @@ class HelpDocumentationSpider(BaseDocumentationSpider):deny_domains: list[str] = []deny = ["/policies/privacy"]+ @override+ def _is_external_url(self, url: str) -> bool:+ return not f"{url}/".startswith("http://localhost:9981/help/") or self._has_extension(url)+class APIDocumentationSpider(UnusedImagesLinterSpider):name = "api_documentation_crawler"