1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Replace antsibull-lint collection-docs with antsibull-docs lint-collection-docs. (#4423) (#4424)

(cherry picked from commit 668bbed602)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-03-30 08:17:29 +02:00 committed by GitHub
parent bbaeb5e5be
commit 0814be718e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))