I’ve been using rails and rails’ doc for quite a while now. And I always missed the search feature in docs. IMHO browser search in page is not the best solution. So i’ve spent this weekend trying to improve things a bit. This is more a proof of concept than a final product. http://voloko.ru/sdoc/rails/ and on github: http://github.com/voloko/sdocrails/tree/master (custom rdoc generator and template) Any feedback is appreciated. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, it looks great. one small issue - try to search ''link_to'' and the last result item is: secret_key_generator.rb railties/lib/rails_generator/secret_key_generator.rb which has nothing to do with link_to .. see how did you perform the search :) tom voloko wrote:> I’ve been using rails and rails’ doc for quite a while now. And I > always missed the search feature in docs. IMHO browser search in page > is not the best solution. So i’ve spent this weekend trying to improve > things a bit. > This is more a proof of concept than a final product. > http://voloko.ru/sdoc/rails/ > and on github: http://github.com/voloko/sdocrails/tree/master (custom > rdoc generator and template) > Any feedback is appreciated. Thanks > >-- ==============================================================================Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz ============================================================================== --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Very nice. On Mar 16, 2009, at 6:10 AM, voloko wrote:> > I’ve been using rails and rails’ doc for quite a while now. And I > always missed the search feature in docs. IMHO browser search in page > is not the best solution. So i’ve spent this weekend trying to improve > things a bit. > This is more a proof of concept than a final product. > http://voloko.ru/sdoc/rails/ > and on github: http://github.com/voloko/sdocrails/tree/master (custom > rdoc generator and template) > Any feedback is appreciated. Thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
It has all the letters from "link_to" railties/<b>l</b>ib/ra<b>i</b>ls_ge<b>n</b>erator/secret_<b>k</ b>ey<b>_</b>genera<b>t</b><b>o</b>r.rb It tries to find by exact match first (so link_to is always above) and then resorts to textmate-like matching (to find password() by "pswd"). On Mar 16, 5:45 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote:> Hi, > > it looks great. one small issue - try to search ''link_to'' and the last > result item is: > > secret_key_generator.rb > railties/lib/rails_generator/secret_key_generator.rb > > which has nothing to do with link_to .. see how did you perform the > search :) > > tom > > voloko wrote: > > I’ve been using rails and rails’ doc for quite a while now. And I > > always missed the search feature in docs. IMHO browser search in page > > is not the best solution. So i’ve spent this weekend trying to improve > > things a bit. > > This is more a proof of concept than a final product. > >http://voloko.ru/sdoc/rails/ > > and on github:http://github.com/voloko/sdocrails/tree/master(custom > > rdoc generator and template) > > Any feedback is appreciated. Thanks > > -- > =========================================================================== ===> Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz > =========================================================================== ===--~--~---------~--~----~------------~-------~--~----~You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i like it! i assume you guys know about www.railsbrain.com? maybe it has some good ideas for this project On Mar 16, 6:45 pm, voloko <vol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> It has all the letters from "link_to" > railties/<b>l</b>ib/ra<b>i</b>ls_ge<b>n</b>erator/secret_<b>k</ > b>ey<b>_</b>genera<b>t</b><b>o</b>r.rb > > It tries to find by exact match first (so link_to is always above) and > then resorts to textmate-like matching (to find password() by > "pswd"). > > On Mar 16, 5:45 pm, Tom Z Meinlschmidt <to...-ooGa/4BNRfSw0JuIXryQZA@public.gmane.org> wrote: > > > Hi, > > > it looks great. one small issue - try to search ''link_to'' and the last > > result item is: > > > secret_key_generator.rb > > railties/lib/rails_generator/secret_key_generator.rb > > > which has nothing to do with link_to .. see how did you perform the > > search :) > > > tom > > > voloko wrote: > > > I’ve been using rails and rails’ doc for quite a while now. And I > > > always missed the search feature in docs. IMHO browser search in page > > > is not the best solution. So i’ve spent this weekend trying to improve > > > things a bit. > > > This is more a proof of concept than a final product. > > >http://voloko.ru/sdoc/rails/ > > > and on github:http://github.com/voloko/sdocrails/tree/master(custom > > > rdoc generator and template) > > > Any feedback is appreciated. Thanks > > > -- > > =========================================================================== ===> > Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > >www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz > > =========================================================================== ===--~--~---------~--~----~------------~-------~--~----~You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I use the command ''sdoc'' to generate searchable doc for ruby1.8 and it gets wrong when generating SHTML. The error report is /lib/sdoc/generators/shtml_generator.rb:282:in `to_json'': source sequence is illegal/malformed (JSON::GeneratorError) ../lib/sdoc/generators/shtml_generator.rb:282:in `gen_search_index'' can it be fixed? On Mar 16, 9:10 pm, voloko <vol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I’ve been using rails and rails’ doc for quite a while now. And I > always missed the search feature in docs. IMHO browser search in page > is not the best solution. So i’ve spent this weekend trying to improve > things a bit. > This is more a proof of concept than a final product.http://voloko.ru/sdoc/rails/ > and on github:http://github.com/voloko/sdocrails/tree/master(custom > rdoc generator and template) > Any feedback is appreciated. Thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
swachian wrote:> I use the command ''sdoc'' to generate searchable doc for ruby1.8 and it > gets wrong when generating SHTML. The error report is > > /lib/sdoc/generators/shtml_generator.rb:282:in `to_json'': source > sequence is illegal/malformed (JSON::GeneratorError) > ../lib/sdoc/generators/shtml_generator.rb:282:in `gen_search_index'' > > can it be fixed?Yep. Set $KCODE = ''UTF-8'' in your Rakefile (that''s the way rails does) or reinstall the gem (it now uses -KU ruby option by default) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---