Update mkdocs unformatted example error message (#4312)

This commit is contained in:
Calum Young 2023-05-09 17:36:13 +01:00 committed by GitHub
parent d3b71f1e04
commit 8dea47afc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,8 +103,8 @@ def format_file(
if contents != new_contents:
rule_name = file.name.split(".")[0]
print(
f"Rule `{rule_name}` docs are not formatted. This section should be "
f"rewritten to:",
f"Rule `{rule_name}` docs are not formatted. The example section "
f"should be rewritten to:",
)
# Add indentation so that snipped can be copied directly to docs