diff --git a/docs/mkdocs/docs/api/basic_json/~basic_json.md b/docs/mkdocs/docs/api/basic_json/~basic_json.md index c5c74a525..64e944006 100644 --- a/docs/mkdocs/docs/api/basic_json/~basic_json.md +++ b/docs/mkdocs/docs/api/basic_json/~basic_json.md @@ -14,6 +14,8 @@ No-throw guarantee: this member function never throws exceptions. Linear. + + ## Version history - Added in version 1.0.0. diff --git a/docs/mkdocs/scripts/check_structure.py b/docs/mkdocs/scripts/check_structure.py index 37c4ce356..76589ce47 100755 --- a/docs/mkdocs/scripts/check_structure.py +++ b/docs/mkdocs/scripts/check_structure.py @@ -75,6 +75,12 @@ def check_structure(): if len(line) > 160 and '|' not in line: report('whitespace/line_length', f'{file}:{lineno+1} ({current_section})', f'line is too long ({len(line)} vs. 160 chars)') + # sections in `` comments are treated as present + if line.startswith('') + existing_sections.append(current_section) + # check if sections are correct if line.startswith('## '): # before starting a new section, check if the previous one documented all overloads