More fixes to sphinx documentation