Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Is there a place where I can get documentations/references of all classes and methods of programming languages, namely Ruby, PHP and Python?

It doesn't have to be XML, as long as it is parse-able and consistent. I'm hoping to find all core classes, methods (with parameters and type of return value) and properties. And if available a description of the method.

I need this for a project that I'm currently working on (a text editor with basic completion and type inference). I've already done this for for JavaScript (since the JS reference is relatively small, I created it myself.)

Going to ruby-doc.org I get the documentation as html but the method names/parameters/return value are not consistent at all. Same with PHP from PHP.net

Thanks,

share|improve this question
"all classes and methods of programming languages, ... Python"? All? As in All of the classes in the standard Python library? Or all of the classes in my specific project? – S.Lott Dec 7 '10 at 17:11

closed as not constructive by MichaelT, gnat, ChrisF Apr 1 at 18:10

As it currently stands, this question is not a good fit for our Q&A; format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

2 Answers

For Ruby take a look at the documentation for Rdoc::Page. You can create a custom template to use as a generation target. So if you have a standard format you are wanting to map all these to you could use that custom template to generate it. So you can just run RDoc against Ruby.

share|improve this answer

If you mean PHP itself, you have phpdoc, it's all docbook XML.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.