Method: LibGems::DocManager#generate_rdoc

Defined in:
lib/libgems/doc_manager.rb

#generate_rdocObject

Generate the RDoc documents for this gem spec.

Note that if both RI and RDoc documents are generated from the same process, the RI docs should be done first (a likely bug in RDoc will cause RI docs generation to fail if run after RDoc).



127
128
129
130
131
132
# File 'lib/libgems/doc_manager.rb', line 127

def generate_rdoc
  setup_rdoc
  install_rdoc

  FileUtils.mkdir_p @doc_dir unless File.exist?(@doc_dir)
end