Documentation formatting fixes

Stuff I found while trying to get the clang version of docurium to display docs better.

I'm not sure if the idxentry changes will affect much, since we should be accepting ints anyway.