badge doc