Fix settings module in sphinx