From 5b7fc1e9fe2a416de18f4d2ab4a13e1211a86f74 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 16 Apr 2023 13:58:14 +0200 Subject: [PATCH] Do extra docs validation. Explicitly disallow semantic markup in docs. --- tests/sanity/extra/extra-docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sanity/extra/extra-docs.py b/tests/sanity/extra/extra-docs.py index 6731049231..d7bbe35efb 100755 --- a/tests/sanity/extra/extra-docs.py +++ b/tests/sanity/extra/extra-docs.py @@ -15,7 +15,7 @@ def main(): """Main entry point.""" if not os.path.isdir(os.path.join('docs', 'docsite')): return - p = subprocess.run(['antsibull-docs', 'lint-collection-docs', '.'], check=False) + p = subprocess.run(['antsibull-docs', 'lint-collection-docs', '--plugin-docs', '--disallow-semantic-markup', '--skip-rstcheck', '.'], check=False) if p.returncode not in (0, 3): print('{0}:0:0: unexpected return code {1}'.format(sys.argv[0], p.returncode))