-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doctools] Export debug info for new ref_check.py tool
- Loading branch information
Andy C
committed
Aug 7, 2023
1 parent
a4f0a38
commit b561fb0
Showing
5 changed files
with
135 additions
and
48 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
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
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
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
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,22 @@ | ||
#!/usr/bin/env python2 | ||
""" | ||
ref_check.py: Check Links | ||
""" | ||
from __future__ import print_function | ||
|
||
import json | ||
import sys | ||
|
||
def main(argv): | ||
for path in argv[1:]: | ||
print(path) | ||
with open(path) as f: | ||
d = json.load(f) | ||
print(d) | ||
|
||
|
||
if __name__ == '__main__': | ||
main(sys.argv) | ||
|
||
|
||
# vim: sw=2 |