Backport some misc fixes (bst-1)

This includes some documentation link fixups and moving some types into types.py.

Merge request reports

Loading