lib/cocoapods/installer/pod_source_installer.rb
def generate_docs
        if @cleaned
          raise Informative, "Attempt to generate the documentation from a cleaned Pod."
        end

        if documentation_generator.already_installed?
          UI.section " > Using existing documentation"
        else
          UI.section " > Installing documentation" do
            documentation_generator.generate(install_docs?)
          end
        end
      end
# Generates the documentation for the Pod.
#
# @return [void]
#
Generates the documentation for the Pod.
Generates the documentation for the Pod .
def generate_docs
        if @cleaned
          raise Informative, "Attempt to generate the documentation from a cleaned Pod."
        end
        if documentation_generator.already_installed?
          UI.section " > Using existing documentation"
        else
          UI.section " > Installing documentation" do
            documentation_generator.generate(install_docs?)
          end
        end
      end
def generate_docs if @cleaned raise Informative , "Attempt to generate the documentation from a cleaned Pod." end if documentation_generator . already_installed? UI . section " > Using existing documentation" else UI . section " > Installing documentation" do documentation_generator . generate ( install_docs? ) end end end
Generates the documentation for the Pod.
Generates the documentation for the Pod .
None
void