docs: overhaul of sphinx documentation