Check site.
check(options)
Check the site.
Source code in src/check.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 | |
_check_all_html(pages)
Validate generated HTML.
Source code in src/check.py
34 35 36 37 | |
_check_figure_structure(options, filepath, doc)
Check that all figures have IDs and captions.
Source code in src/check.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | |
_check_glossary_redefinitions(pages)
Check for glossary terms that are defined more than once.
Source code in src/check.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | |
_check_single_h1(options, filepath, doc)
Check that all pages have a single H1.
Source code in src/check.py
75 76 77 78 | |
_check_table_structure(options, filepath, doc)
Check that all tables have proper structure and IDs.
Source code in src/check.py
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | |
_require(filepath, condition, message)
Manage warning messages.
Source code in src/check.py
98 99 100 101 102 | |