Pupils’ documentation enlightening teachers’ practical theory and pedagogical actions