note generation documentation