[TASK] Improve ref-targets-list directive

Explicitly enable directive for html.

Change-Id: I123670add3e4c6a7c2fc96564737bba13d2290e2
Resolves: #60870