Incorporate BAGG format into sphinx doc