mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-18 04:48:46 +00:00
(cherry picked from commit 6f0e1149fd)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
ef18755fe7
commit
9241ecadef
@ -14,7 +14,7 @@ def main():
|
|||||||
"""Main entry point."""
|
"""Main entry point."""
|
||||||
if not os.path.isdir(os.path.join('docs', 'docsite')):
|
if not os.path.isdir(os.path.join('docs', 'docsite')):
|
||||||
return
|
return
|
||||||
p = subprocess.run(['antsibull-lint', 'collection-docs', '.'], check=False)
|
p = subprocess.run(['antsibull-docs', 'lint-collection-docs', '.'], check=False)
|
||||||
if p.returncode not in (0, 3):
|
if p.returncode not in (0, 3):
|
||||||
print('{0}:0:0: unexpected return code {1}'.format(sys.argv[0], p.returncode))
|
print('{0}:0:0: unexpected return code {1}'.format(sys.argv[0], p.returncode))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user