modified sphinx documentation options and code