Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test-documentation: Clean up fixed HTML validation ignore patterns.

Anders Kaseorgbf447a726f5b
diff --git a/tools/documentation.vnufilter b/tools/documentation.vnufilter
index 168eb9a9606..d26bd24f936 100644
--- a/tools/documentation.vnufilter
+++ b/tools/documentation.vnufilter
@@ -1,8 +1,3 @@
-# Real errors that should be fixed.
-
-# https://github.com/readthedocs/sphinx_rtd_theme/pull/961
-Attribute “alt” not allowed on element “a” at this point\.
-
# Warnings that are probably less important.
The “type” attribute is unnecessary for JavaScript resources\.
diff --git a/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py b/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py
index 7d132c76a02..4d07c40f0c7 100644
--- a/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py
+++ b/tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py
@@ -49,8 +49,6 @@ VNU_IGNORE = [
r"No “p” element in scope but a “p” end tag seen\.",
r"Element “div” not allowed as child of element “ul” in this context\. "
+ r"\(Suppressing further errors from this subtree\.\)",
- # Warnings that are probably less important.
- r"The “type” attribute is unnecessary for JavaScript resources\.",
]
VNU_IGNORE_REGEX = re.compile(r"|".join(VNU_IGNORE))