[TASK] Improve ref-targets-list directive

Explicitly enable directive for html.

Resolves: #60870