Raku / Documentable

Documentation API: caching, parsing, indexing and generating documentation
https://docs.raku.org
Artistic License 2.0
11 stars 13 forks source link

Index terms can be duplicated #161

Open JJ opened 2 years ago

JJ commented 2 years ago

Describe the bug

There's no check for duplicated index terms, so something can appear twice with no one complaining about it.

To Reproduce

Check out the generated search.js for duplicated terms. This is an outstanding issue in Raku/doc and could probably be done there, but even so, it's not bad to check it at this side.

Expected behavior

Warn or even fail when duplicated indices exist.