-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pre-commit.com hooks for lint-collection-docs
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (C) 2023 Maxwell G <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or | ||
# https://www.gnu.org/licenses/gpl-3.0.txt) | ||
--- | ||
- id: lint-collection-docs | ||
name: Lint collection docs | ||
language: python | ||
pass_filenames: false | ||
entry: "antsibull-docs lint-collection-docs ." | ||
# Default arguments based on the collection_template. | ||
# Users can change these if they wish | ||
args: | ||
- "--plugin-docs" | ||
- "--skip-rstcheck" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
minor_changes: | ||
- Add pre-commit.com hook for ``antsibull-docs lint-collection-docs`` | ||
(https://github.com/ansible-community/antsibull-docs/pull/231). |