add documentation to create badges [skip ci]