aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/docs/conf.py')
-rw-r--r--tests/wpt/web-platform-tests/docs/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/docs/conf.py b/tests/wpt/web-platform-tests/docs/conf.py
index e425667ce88..89f30a02a33 100644
--- a/tests/wpt/web-platform-tests/docs/conf.py
+++ b/tests/wpt/web-platform-tests/docs/conf.py
@@ -80,11 +80,13 @@ exclude_patterns = [
'.DS_Store'
]
+from docs.wpt_lint_rules import WPTLintRules
# Enable inline reStructured Text within Markdown-formatted files
# https://recommonmark.readthedocs.io/en/latest/auto_structify.html
from recommonmark.transform import AutoStructify
def setup(app):
app.add_transform(AutoStructify)
+ app.add_directive('wpt-lint-rules', WPTLintRules)
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None