[TASK] Improve ref-targets-list directive

Explicitly enable directive for html.

Change-Id: I415b00c2da73e805b4f57a67e318c60e10e9348e
Resolves: #60870