[ANN] rdoc 2.1.0 Released

M

Marcin Raczkowski

Eric said:
In a future version, we'll use ruby_parser to extract documentation,
which has a UnifiedRuby-compatible output.

Did you start any work towards that goal?
 
J

Jeremy McAnally

On my Github there's a documentation parser that uses ruby_parser:
http://www.github.com/jeremymcanally/docr

Don't try to run the bin; I was using RDoc's stuff but I switched to
ruby_parser and I'm not sure that I ever hooked it back in properly.
In any event, you can use lib/docr/parser.rb to get documentation out
of files and have it placed in a Hash structure. It'd be a place to
start at least...

--Jeremy

Not yet, it's only in my head.



--
http://jeremymcanally.com/
http://entp.com/
http://omgbloglol.com

My books:
http://manning.com/mcanally/
http://humblelittlerubybook.com/ (FREE!)
 
M

Marcin Raczkowski

Jeremy said:
On my Github there's a documentation parser that uses ruby_parser:
http://www.github.com/jeremymcanally/docr

Don't try to run the bin; I was using RDoc's stuff but I switched to
ruby_parser and I'm not sure that I ever hooked it back in properly.
In any event, you can use lib/docr/parser.rb to get documentation out
of files and have it placed in a Hash structure. It'd be a place to
start at least...

--Jeremy
Great, so it extracts ruby code with ruby_parser and documentation?

anyway I'll check it out.
 
J

Jeremy McAnally

Yeah it uses ruby_parser's ability to get at comments to pull them out
and stick in that structure. IIRC the bin should work fine but I
can't really remember very well. If so, it's basically a very very
basic RDoc replacement that uses ruby_parser. :)

--Jeremy

Great, so it extracts ruby code with ruby_parser and documentation?

anyway I'll check it out.



--
http://jeremymcanally.com/
http://entp.com/
http://omgbloglol.com

My books:
http://manning.com/mcanally/
http://humblelittlerubybook.com/ (FREE!)
 

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

Similar Threads

[ANN] rdoc 2.5 Released 7
[ANN] rdoc 3.4 Released 0
[ANN] rdoc 3.5.2 Released 0
[ANN] rdoc 3.5 Released 0
[ANN] rdoc 3.6 Released 4
[ANN] RDoc 3 6
[ANN] rdoc 3.2 Released 0
[ANN] rdoc 3.1 Released 0

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top