Displaying 12 results from an estimated 12 matches for "rdoc_dir".
Did you mean:
r_doc_dir
2006 Jan 27
2
Getting gem rdoc via ri?
Guys,
I''m working with the new RadRails release (0.5.3), which has a very
nifty inclusion of ri courtesy of RDT.
Problem is, although I''ve generated rdoc for all installed gems with
"gem rdoc --all", it''s not accessible through ri. I see some posts here
and there about rimport...is this still the necessary way to incorporate
the rails rdoc into ri?
2006 Feb 15
6
Problem creating appdoc documentation
...tml
rm -r doc/app
unrecognized option `--line-numbers --inline-source''
For help on options, try ''rdoc --help''
rake aborted!
exit
The appdoc.rake file:
desc "Generate documentation for the application"
Rake::RDocTask.new("appdoc") { |rdoc|
rdoc.rdoc_dir = ''doc/app''
rdoc.title = "NCC Application Documentation"
rdoc.options << ''--line-numbers --inline-source -c iso-8859-2''
rdoc.rdoc_files.include(''doc/README_FOR_APP'')
rdoc.rdoc_files.include(''app/**/*.r...
2011 Nov 29
1
[PATCH] out of tree build: ruby (second take)
...uot;lib/**/*.rb",
- "ext/**/*.[ch]"
+ "@srcdir@/README.rdoc",
+ "@srcdir@/lib/**/*.rb",
+ "@srcdir@/ext/**/*.[ch]"
]
Rake::RDocTask.new do |rd|
- rd.main = "README.rdoc"
+ rd.main = "@srcdir@/README.rdoc"
rd.rdoc_dir = "doc/site/api"
rd.rdoc_files.include(RDOC_FILES)
end
Rake::RDocTask.new(:ri) do |rd|
- rd.main = "README.rdoc"
+ rd.main = "@srcdir@/README.rdoc"
rd.rdoc_dir = "doc/ri"
rd.options << "--ri-system"
rd.rdoc_files....
2011 Nov 21
2
[PATCH] out of tree build: ruby
...uot;lib/**/*.rb",
- "ext/**/*.[ch]"
+ "@srcdir@/README.rdoc",
+ "@srcdir@/lib/**/*.rb",
+ "@srcdir@/ext/**/*.[ch]"
]
Rake::RDocTask.new do |rd|
- rd.main = "README.rdoc"
+ rd.main = "@srcdir@/README.rdoc"
rd.rdoc_dir = "doc/site/api"
rd.rdoc_files.include(RDOC_FILES)
end
Rake::RDocTask.new(:ri) do |rd|
- rd.main = "README.rdoc"
+ rd.main = "@srcdir@/README.rdoc"
rd.rdoc_dir = "doc/ri"
rd.options << "--ri-system"
rd.rdoc_files....
2011 Nov 20
1
[PATCH] out-of-tree build: ruby
...uot;lib/**/*.rb",
- "ext/**/*.[ch]"
+ "@srcdir@/README.rdoc",
+ "@srcdir@/lib/**/*.rb",
+ "@srcdir@/ext/**/*.[ch]"
]
Rake::RDocTask.new do |rd|
- rd.main = "README.rdoc"
+ rd.main = "@srcdir@/README.rdoc"
rd.rdoc_dir = "doc/site/api"
rd.rdoc_files.include(RDOC_FILES)
end
Rake::RDocTask.new(:ri) do |rd|
- rd.main = "README.rdoc"
+ rd.main = "@srcdir@/README.rdoc"
rd.rdoc_dir = "doc/ri"
rd.options << "--ri-system"
rd.rdoc_files....
2006 Jun 07
0
revised rake doc:app executes twice
...new task (shown below) in
lib/tasks/doc.rake. It generates documentation OK, but it executes the task
twice every time I ''rake doc:custom''.
namespace :doc do
desc "Generate customized documentation for this application"
Rake::RDocTask.new(:custom) do |rdoc|
rdoc.rdoc_dir = ''doc/app''
rdoc.title = "System Documentation"
rdoc.options << ''--line-numbers'' << ''--all'' #<< ''--inline-source''
if ENV[''template'']
puts "using template:...
2005 Dec 20
0
Patch lovin'' for #2018? ("rake appdoc fails on Windows systems")
...ilties/lib/tasks/documentation.rake 2005-11-16 23:58:48.000000000 -0500
+++ rails-ours/railties/lib/tasks/documentation.rake 2005-12-20 16:21:53.000000000 -0500
@@ -1,11 +1,10 @@
desc "Generate documentation for the application"
-Rake::RDocTask.new("appdoc") { |rdoc|
- rdoc.rdoc_dir = ''doc/app''
- rdoc.title = "Rails Application Documentation"
- rdoc.options << ''--line-numbers --inline-source''
- rdoc.rdoc_files.include(''doc/README_FOR_APP'')
- rdoc.rdoc_files.include(''app/**/*.rb'')
-}...
2006 Dec 14
1
Patch: make rdoc of lib/mocha/object.rb instead of lib/stubba/object.rb
Index: Rakefile
===================================================================
--- Rakefile (revision 73)
+++ Rakefile (working copy)
@@ -23,7 +23,7 @@
task.rdoc_dir = ''doc''
task.template = "html_with_google_analytics"
task.options << "--line-numbers" << "--inline-source"
- task.rdoc_files.include(''README'', ''RELEASE'', ''COPYING'', ''MIT...
2006 Feb 02
4
rails-1.0.0 gem rdoc problem
...--help''
rake aborted!
exit
(See full trace by running task with --trace)
This can be fixed with the following change:
--- Rakefile 2006-02-01 18:24:07.000000000 -0600
+++ Rakefile.bak 2006-02-01 18:25:38.000000000 -0600
@@ -233,7 +233,7 @@
Rake::RDocTask.new { |rdoc|
rdoc.rdoc_dir = ''doc''
rdoc.title = "Railties :: Gluing the Engine to the Rails"
- rdoc.options << ''--line-numbers --inline-source --accessor
cattr_accessor=object''
+ rdoc.options += %w(--line-numbers --inline-source --accessor
cattr_accessor=object)...
2011 Jan 05
0
Fwd: Review of libguestfs ruby bindings
...hieve the same results. Minor, though.
Rakefile - looks reasonable enough, has most of the tasks I would care about.
One additional task that might be worthwhile is an 'ri' task for generating
interactive help:
Rake::RDocTask.new(:ri) do |rd|
rd.main = "README.rdoc"
rd.rdoc_dir = "doc/ri"
rd.options << "--ri-system"
rd.rdoc_files.include(RDOC_FILES)
end
Full disclosure, though; I haven't yet figured out how to include that
interactive help in an RPM.
extconf.rb file - looks reasonable enough.
_guestfs.c - lots of code here (auto-ge...
2009 Sep 28
5
Multi-databases support
Hi,
While I was hacking ovirt-server, I have found that it's currently
restricted to Postgres DB. Even if I like postgres for serious work on a
server, I really prefer to hack/dev locally on a Sqlite or MySQL DB.
I have googled on rails in order to find a good answer for the "foreign
key problem" which forces OVirt to stay on pg. I have found a plugin on
this particular
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server