Added new compare funtions to sphinx docs