DDoc fixes

This fixes some warnings as identified by the compiler,
as well as some broken cross-reference links caused by
DDoc auto-formatting of the current symbol.
Merge pull request #1820 from CyberShadow/ddoc-syntax-fixes-6

DDoc fixes