Novice question about rdoc

  • Thread starter LAMBEAU Bernard
  • Start date
L

LAMBEAU Bernard

I've got a stupid problem with rdoc, and I don't find any answer on
the web. Sorry ...

Is there an option to force rdoc to generate the html documentation
each time it is invoked? I use the following task in Rakefile:

desc "Generates documentation"
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.include( "README", "INSTALL",
"TODO", "CHANGELOG",
"AUTHORS", "COPYING",
"lib/" )
rdoc.main = "README"
rdoc.rdoc_dir = "doc/html"
rdoc.title = "Stamina Documentation"
rdoc.options << "-S" << "-N" << "-p" << "-H"
end

rake rdoc generates the documentation only the first time. After, it
does not generate anything unless I remove the doc/html folder.

blambeau
 
B

Brian Candler

LAMBEAU said:
rake rdoc generates the documentation only the first time. After, it
does not generate anything unless I remove the doc/html folder.

Try: rake rerdoc

# Rebuild the rdoc files from scratch, even if they are not out
# of date.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,698
Latest member
LydiaHalle

Latest Threads

Top