forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[workflow] Use Sphinx problem matcher on GitHub docs builds (pythonGH…
- Loading branch information
1 parent
9645930
commit 2602d97
Showing
2 changed files
with
43 additions
and
1 deletion.
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,40 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"owner": "sphinx-problem-matcher", | ||
"pattern": [ | ||
{ | ||
"regexp": "^(.*):(\\d+):\\s+(\\w*):\\s+(.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"severity": 3, | ||
"message": 4 | ||
} | ||
] | ||
}, | ||
{ | ||
"owner": "sphinx-problem-matcher-loose", | ||
"pattern": [ | ||
{ | ||
"_comment": "A bit of a looser pattern, doesn't look for line numbers, just looks for file names relying on them to start with / and end with .rst", | ||
"regexp": "(\/.*\\.rst):\\s+(\\w*):\\s+(.*)$", | ||
"file": 1, | ||
"severity": 2, | ||
"message": 3 | ||
} | ||
] | ||
}, | ||
{ | ||
"owner": "sphinx-problem-matcher-loose-no-severity", | ||
"pattern": [ | ||
{ | ||
"_comment": "Looks for file names ending with .rst and line numbers but without severity", | ||
"regexp": "^(.*\\.rst):(\\d+):(.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"message": 3 | ||
} | ||
] | ||
} | ||
] | ||
} |
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