Hi Just a quick note to let you know that the Textile doc generation stuff is now in CVS. There is a moderate amount of documentation in rake/rakedoc.rb in case you feel like generating your own local copy. The only prerequisite is the Ruby ''redcloth'' library. There''s also some info in doc/lib which might be some help if you want to tweak the output. cheers alex
On Tue, 2006-08-22 at 20:39 +0100, Alex Fenton wrote:> Just a quick note to let you know that the Textile doc generation stuff > is now in CVS. There is a moderate amount of documentation in > rake/rakedoc.rb in case you feel like generating your own local copy. > The only prerequisite is the Ruby ''redcloth'' library.I''m getting an error when I run rake: kevins at aria:~/work/wxruby2$ rake --trace (in /home/kevins/work/wxruby2) rake aborted! no such file to load -- wxlatex_parser /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' ./rake/rakedocs.rb:21 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' /home/kevins/work/wxruby2/rakefile:7 /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in `load_rakefile'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1900:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/bin/rake:18 kevins at aria:~/work/wxruby2$ Did you forget to check in wxlatex_parser? Or is it just not being found? I have commented out the require ''rakedocs'' for now, so I can keep working. Kevin
I tried to generate the textile docs then HTML last night and it worked fine for me. Machine used is Mac OS X Intel. Sean On 8/23/06, Kevin Smith <wxruby at qualitycode.com> wrote:> On Tue, 2006-08-22 at 20:39 +0100, Alex Fenton wrote: > > Just a quick note to let you know that the Textile doc generation stuff > > is now in CVS. There is a moderate amount of documentation in > > rake/rakedoc.rb in case you feel like generating your own local copy. > > The only prerequisite is the Ruby ''redcloth'' library. > > I''m getting an error when I run rake: > > kevins at aria:~/work/wxruby2$ rake --trace > (in /home/kevins/work/wxruby2) > rake aborted! > no such file to load -- wxlatex_parser > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' > ./rake/rakedocs.rb:21 > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' > /home/kevins/work/wxruby2/rakefile:7 > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in > `load_rakefile'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1900:in `run'' > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 > /usr/bin/rake:18 > kevins at aria:~/work/wxruby2$ > > > Did you forget to check in wxlatex_parser? Or is it just not being > found? > > I have commented out the require ''rakedocs'' for now, so I can keep > working. > > Kevin > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >
Hi Kevin> I''m getting an error when I run rake: > > kevins at aria:~/work/wxruby2$ rake --trace > (in /home/kevins/work/wxruby2) > rake aborted! > no such file to load -- wxlatex_parserJust to check - you have the new directory doc/lib pulled from CVS (ie cvs -d). And the top of rake/rakedocs.rb adds this directory to LOAD_PATH? a
What and where is wxlatex_parser? Kevin On Wed, 2006-08-23 at 14:20 -0700, Sean Long wrote:> I tried to generate the textile docs then HTML last night and it > worked fine for me. Machine used is Mac OS X Intel. > > Sean > > On 8/23/06, Kevin Smith <wxruby at qualitycode.com> wrote: > > On Tue, 2006-08-22 at 20:39 +0100, Alex Fenton wrote: > > > Just a quick note to let you know that the Textile doc generation stuff > > > is now in CVS. There is a moderate amount of documentation in > > > rake/rakedoc.rb in case you feel like generating your own local copy. > > > The only prerequisite is the Ruby ''redcloth'' library. > > > > I''m getting an error when I run rake: > > > > kevins at aria:~/work/wxruby2$ rake --trace > > (in /home/kevins/work/wxruby2) > > rake aborted! > > no such file to load -- wxlatex_parser > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require'' > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > ./rake/rakedocs.rb:21 > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > /home/kevins/work/wxruby2/rakefile:7 > > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1828:in > > `load_rakefile'' > > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1900:in `run'' > > /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 > > /usr/bin/rake:18 > > kevins at aria:~/work/wxruby2$ > > > > > > Did you forget to check in wxlatex_parser? Or is it just not being > > found? > > > > I have commented out the require ''rakedocs'' for now, so I can keep > > working. > > > > Kevin > > > > > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users
Kevin Smith wrote:> What and where is wxlatex_parser? >Should be in doc/lib. Is a specialised latex parser to turn the format used by WxWidgets docs into our Textile format. a
On Wed, 2006-08-23 at 23:54 +0100, Alex Fenton wrote:> Just to check - you have the new directory doc/lib pulled from CVS (ie > cvs -d). And the top of rake/rakedocs.rb adds this directory to LOAD_PATH?Doh! I hate CVS. I was thinking that cvs update was enough...I hadn''t added the -d switch. I have uncommented the doc stuff in rakefile, as I am now able to run rake. I haven''t actually tried building any doc stuff. I am not thrilled that we now require the redcloth gem to be installed before we can build wxruby2 at all. It seems like it should only be required if you actually want to work with the docs. Not a showstopper, but "would be nice". Thanks, Kevin
Kevin Smith wrote:> I am not thrilled that we now require the redcloth gem to be installed > before we can build wxruby2 at all. It seems like it should only be > required if you actually want to work with the docs. Not a showstopper, > but "would be nice". > >I second this. I planned not to install redcloth. ''rake docs'' to produce the docs seems the best idea. Roy
> I am not thrilled that we now require the redcloth gem to be installed > before we can build wxruby2 at all. It seems like it should only be > required if you actually want to work with the docs. Not a showstopper, > but "would be nice".Sorry, my mistake. I had wrapped the relevant bit in a rescue clause, but forgot to commit. Now fixed. cheers alex