similar to: extend doc:app rake task to Include lib/*?

Displaying 20 results from an estimated 10000 matches similar to: "extend doc:app rake task to Include lib/*?"

2006 Jun 07
0
revised rake doc:app executes twice
I''m trying to create a new rake task that will generate slightly customized RDoc documentation for my Rails app. So I''ve created a 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"
2005 Dec 20
0
Patch lovin'' for #2018? ("rake appdoc fails on Windows systems")
Gurus (Guri? heh), We got burned today by #2018 ("rake appdoc fails on Windows systems"), and did a bunch of ferreting around (starting at the problems in rdoc,rake,rdoc.bat) and ultimately came back to the conclusion that the cleanest way to fix the problem is just a variation on a suggestion already posted in that ticket. I wrote up a patch against trunk from the suggestion there and
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" -
2011 Nov 29
1
[PATCH] out of tree build: ruby (second take)
--- ruby/Rakefile.in | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in index da9f3f1..2587476 100644 --- a/ruby/Rakefile.in +++ b/ruby/Rakefile.in @@ -24,10 +24,10 @@ require 'rake/gempackagetask' PKG_NAME='@PACKAGE_NAME@' PKG_VERSION='@PACKAGE_VERSION@'
2011 Nov 21
2
[PATCH] out of tree build: ruby
--- ruby/Rakefile.in | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in index da9f3f1..99a195d 100644 --- a/ruby/Rakefile.in +++ b/ruby/Rakefile.in @@ -27,7 +27,7 @@ PKG_VERSION='@PACKAGE_VERSION@' EXT_CONF='@srcdir@/ext/hivex/extconf.rb' MAKEFILE='@builddir@/ext/hivex/Makefile'
2006 Feb 15
6
Problem creating appdoc documentation
Hello, can anyone help me. After a few weeks I returned to the rails to play with it. But I recognize that I''m now not abble to build appdoc. The same thing that few weeks ago worked without an problem now give me an error: unrecognized option `--line-numbers --inline-source'' $ rake --trace --verbose reappdoc (in /home/radek/src/firma/giga-net/ncc/work) ** Invoke reappdoc
2011 Nov 20
1
[PATCH] out-of-tree build: ruby
--- ruby/Makefile.am | 4 ++-- ruby/Rakefile.in | 18 +++++++++--------- ruby/run-bindtests | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ruby/Makefile.am b/ruby/Makefile.am index 112512b..032ace2 100644 --- a/ruby/Makefile.am +++ b/ruby/Makefile.am @@ -62,7 +62,7 @@ RUBY_SITEARCH := $(shell ruby -rrbconfig -e "puts
2006 Jun 23
0
Rake doc:app not including lib directory
Hi all, I have found a couple of posts about this issue, but no clear answer... I noticed that the rake task doc:app doesn''t include ruby files in the lib directory. How to change that? I have found the documentation.rake file in the rails gem, but thought there must be a better way than just hacking that file to include the lib dir. Also, I see you can add rake files to
2011 Jan 05
0
Fwd: Review of libguestfs ruby bindings
Chris helpfully reviewed the libguestfs ruby bindings. His findings are below. Rich. Date: Wed, 5 Jan 2011 16:36:42 -0500 From: Chris Lalancette Subject: Review of libguestfs ruby bindings Hey Rich, What follows is a quick review of the libguestfs ruby bindings. I hope you find it helpful. Overall directory structure - looks reasonable enough. One thing that you *could* do is remove
2006 Feb 02
4
rails-1.0.0 gem rdoc problem
Just got a brand new install of ruby-1.8.4 and new gems downloaded, specifically rails-1.0.0. Seems rails does not generated rdoc for gem_server. Looking into the problem, it seems that there is an error when doing ''rake rdoc'' for rails-1.0.0. % rake rdoc (in /opt/local/ruby-1.8.4/lib/ruby/gems/1.8/gems/rails-1.0.0) rm -r doc unrecognized option `--line-numbers --inline-source
2006 May 13
0
rake doc:app and /lib
Hi folks, I wonder if there is there any good reason why the rails-lib directory is not included in the rake doc:app task? Does somebody know how to change that? Cheers Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060513/5a6f8cff/attachment-0001.html
2006 Jan 11
0
any way to add documents to the rake appdoc task?
I would like to include other documents in the doc directory in my documentation, most likely linked from the README_FOR_APP. Is there an easy way to say "in addition to my app, rdoc everything in doc/*". -Kelly -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060111/792f1361/attachment.html
2006 Aug 10
1
rake doc:plugins , error
Hi, Im trying to generate the documentation for the plugins I have installed, however when I run the following command, I just get the following error. rake doc:plugins C:\InstantRails\rails_apps\opp>rake doc:plugins (in C:/InstantRails/rails_apps/opp) rdoc -o doc/plugins/acts_as_authenticated --title ''Acts As Authenticated Plugin Documentation'' --line-numbers
2009 Mar 21
0
Problem running Rdoc from Rake in Rails 2.3
People, I''m getting an error from Rake I''d like to debug. Here is a screendump: Fri Mar 20 23:28 /b/tmp/myfc23 maco$ rake doc:plugins:rspec (in /b/tmp/myfc23) rdoc -o doc/plugins/rspec --title ''Rspec Plugin Documentation'' --line- numbers --inline-source --charset utf-8 -T html vendor/plugins/rspec/ lib/autotest/discover.rb major-snip 95% [107/112]
2012 Jul 31
1
puppet doc questions
Does puppet doc require a specific version of any gems (such as rdoc or rake) to operate? I''m getting some errors when I try to generate my rdoc now. # puppet doc --output /var/www/test --modulepath /etc/puppet/environments/test/modules -m rdoc RDoc::RDocError is deprecated and will be removed in RDoc 4 Could not generate documentation: uninitialized constant RDoc::RDoc::Generator
2007 Apr 06
0
ruby doc errorr
authenticated_test_helper.rb: m. RDoc failure in vendor/plugins/acts_as_authenticated/generators/authenticated/te mplates/authenticated_test_helper.rb at or around line 113 column 4 Before reporting this, could you check that the file you''re documenting compiles cleanly--RDoc is not a full Ruby parser, and gets confused easily if fed invalid programs. The internal error was:
2006 Jan 31
2
Problem generating CHM Rails doc
Hi, I have problem generating chm file for the rails doc. I''ve commaned the rdoc to generate the chm by: rdoc -f chm -o chm_folder action* rails-* It gave me the following error: vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb:3:15: Expected class name or ''<<''. G ot RubyToken::TkLT: "<" By adding
2006 Feb 23
3
rake error
I installed at least one gem since I thought I actually once was able to run ''rake appdoc'' command since there is an api for my models and the ez_where plugin that I installed earlier. I wanted to see the api for pdf-writer which is the gem that I installed most recently. (no, I haven''t given up the issue of ''looping'' that Kevin and some others replied
2012 Mar 14
3
solution for rake db:create
I ran into the following error: WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/tas k'' (in RDoc 2.4.2+)'' instead. at /usr/lib/ruby/vendor_ruby/rake/rdoctask.rb rake aborted! uninitialized constant Gem ---- Following that advice (which I also found by searching the web for the error
2008 Jan 31
1
never have been able to run rake doc:app
Perhaps it''s just a Fedora thing but it would be nice to generate my application''s API $ rake doc:app --trace (in /home/storage/users/craig/svn/th-db/branches/phase5) ** Invoke doc:app (first_time) ** Invoke doc/app/index.html (first_time) rake aborted! Don''t know how to build task ''doc/README_FOR_APP''