def document
      session = dnote_session

      output_mapping.each do |file, format|
        #next unless verify_format(format)

        dir = File.dirname(file)
        mkdir_p(dir) unless File.directory?(dir)

        session.output = file
        session.format = format
        session.run

        report "Updated #{file.sub(Dir.pwd+'/','')}"
      end
    end
def document
      session = dnote_session

      output_mapping.each do |file, format|
        #next unless verify_format(format)

        dir = File.dirname(file)
        mkdir_p(dir) unless File.directory?(dir)

        session.output = file
        session.format = format
        session.run

        report "Updated #{file.sub(Dir.pwd+'/','')}"
      end
    end
Generate notes documents.

 @return [void]