better autogen sphinx