Misc inline sphinx warning removals

This pull request merges in a number of small fixes for inline docs which were causing sphinx warnings.