Skip to content

Commit

Permalink
[#347] Remove rules ids in rules overview in HTML generator
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Nov 4, 2021
1 parent 022cfd7 commit 0c4ac10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/extensions/doc/freemarker/rules_overview.html.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<#list ruleGroup.rules as rule>
<tr>
<th scope="row">
<span class="anchor-group" id="${rule.symbol.htmlLink.htmlAnchor}"><@symbol_reference rule.symbol/></span>
<@symbol_reference rule.symbol/>
</th>
<td>
<@doc_comments_all rule.docComments, 6, false/>
Expand Down
7 changes: 7 additions & 0 deletions test/language/rules/zs/rules/pkg_rules.zs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@ rule_group PackageRules
Special rule.
![resource](../../data/resource.md)
Referencing inner rule [rules-03](#rules-03).
!*/
rule "pkg-rules-01";

/*!
Referencing another rule [rules-02](../rules.zs#rules-02).
!*/
rule "pkg-rules-02";

/*!
Rule with the same id as the [rules-03](../rules.zs#rules-03) in different package.
!*/
rule "rules-03";
};

0 comments on commit 0c4ac10

Please sign in to comment.