[REG2.065a] Issue 12017 - DDoc leaves out the majority of documentation

https://d.puremagic.com/issues/show_bug.cgi?id=12017

It has caused by incomplete fix in #2900.