Switched to using pandoc for restructured text generation from markdown, minor other fixes for dox update, #1084