There was an error while loading. Please reload this page.
1 parent c69c4b9 commit 4da3ba4Copy full SHA for 4da3ba4
1 file changed
docs.zenc-lang.org/templates/shortcodes/misra_table.html
@@ -1,7 +1,7 @@
1
-<!-- MISRA Rules Coverage Table Shortcode -->
2
-<!-- Usage: {% misra_table() %} in any markdown file -->
+{# MISRA Rules Coverage Table Shortcode #}
+{# Usage: {{/* misra_table() */}} in any markdown file -- use {% misra_table() %} #}
3
4
-{% set rules = load_data(path="data/misra_rules.toml") %}
+{% set rules = load_data(path="misra_rules.toml") %}
5
{% set total = 0 %}
6
{% for chapter, data in rules.chapters %}
7
{% set total = total + data.rules | length %}
0 commit comments