Skip to content

Commit 5b286b2

Browse files
author
Stuart Young
committed
add anchors to each admonition in the report
1 parent 1bd77b2 commit 5b286b2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
.. _index.rst#{{ slugify(filename + '-' + annotation.report_group_id |string) }}:
2+
13
.. admonition:: Group "{{ group_mapping[annotation.annotation_token] }}"
24

code_annotations/report_templates/annotation_list.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Annotations found in {{ report|length }} files.
1010
{% for annotation in report[filename] %}
1111
{% if annotation.report_group_id %}
1212
{% if loop.changed(annotation.report_group_id) %}
13+
1314
{% include 'annotation_group.tpl' %}
1415

1516
{% endif %}

0 commit comments

Comments
 (0)