Fix errors, warnings generated when Sphinx renders docs

Fixed: <https://github.com/openhatch/oh-mainline/issues/1354>