documentation directive parsing