Better html links

The following changes work fine in ``doc`` commands except for the lack of types when a parameter is found with a default parameter but without a specified type. When I try to run in ``doc2`` mode I don't seem to make sense of the ``sym`` structure and the proc to convert the ``typ`` to a string sigsevs without a call stack, so I don't know where what is failing.