# File docs/makedocs.rb, line 28 def makeDocs( docsdir, template='css2', diagrams=false, upload=nil, ridocs=false ) debugMsg "docsdir = %p, template = %p, diagrams = %p, upload = %p, ridocs = %p" % [docsdir, template, diagrams, upload, ridocs] title = findRdocTitle() docs = findRdocableFiles() main = findRdocMain() webcvs = findRdocCvsURL() header "Making documentation in #{docsdir}." header "Will upload to '#{upload}'\n" if upload header "Will also create/install 'ri' source" if ridocs flags = [ '--all', '--inline-source', '--fmt', 'html', '--include', 'docs', '--template', template, '--op', docsdir, '--title', title, '--tab-width', 4, '--promiscuous', '--show-hash', '--accessor', 'def_pointer_methods=pointers', ] flags += [ '--quiet' ] unless $VERBOSE flags += [ '--diagram' ] if diagrams flags += [ '--main', main ] if main flags += [ '--webcvs', webcvs ] if webcvs buildDocs( flags, docs ) uploadDocs( upload, docsdir ) if upload buildRi( docs ) if ridocs end