docs: fix MD024/no-duplicate-heading lint issue#1513
docs: fix MD024/no-duplicate-heading lint issue#1513alexandear merged 1 commit intomgechev:masterfrom
Conversation
chavacava
left a comment
There was a problem hiding this comment.
(It's a shame that we will need to repeat the section title in the subsection to avoid name clashes. It neutralizes all the interest of organizing information in nested structures.)
|
Yes, and no. The rule can be disabled. But then it means direct link to this section are not stable. Disabling the rule for a changelog is logic, here it's a bit different |
Repeating the section title has an advantage: we can have a direct link to a rule example on the website, e.g. https://revive.run/r#examples-bool-literal-in-expr (will be available after the next release).
|

Fixes #1506