projects
/
lttng-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fa8dc1
)
checkdocs.py: check "int" class before warning
author
Philippe Proulx
<eeppeliteloop@gmail.com>
Fri, 4 Sep 2015 22:14:50 +0000
(18:14 -0400)
committer
Philippe Proulx
<eeppeliteloop@gmail.com>
Sat, 5 Sep 2015 01:52:32 +0000
(21:52 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
tools/checkdocs.py
patch
|
blob
|
blame
|
history
diff --git
a/tools/checkdocs.py
b/tools/checkdocs.py
index 05f5279498e1c84c3190dd505ed1edbf31390a20..9f56a3f2112e268c1eaf2d444a711bdcdadb53cb 100755
(executable)
--- a/
tools/checkdocs.py
+++ b/
tools/checkdocs.py
@@
-108,8
+108,8
@@
def _check_file_links(toc_ids, path, c):
_pwarn(path, 'External link has no "ext" class: "{}"'.format(link))
if href is not None:
- if href.group(1).startswith('#'):
- _pwarn(path, 'External link starts with #: "{}"'.format(href))
+ if href.group(1).startswith('#')
and 'int' not in classes
:
+ _pwarn(path, 'External link starts with #: "{}"'.format(href
.group(1)
))
else:
_perror(path, 'External link with no "href": "{}"'.format(link))
ret = False
This page took
0.023184 seconds
and
4
git commands to generate.