Doc: change note and warning to array

they were not rendered with github markodwn, so I changed it to an array
even if it is not as good as rst ..note or ..warning blocks