Aerilius / sketchup-console-plus

A better Ruby Console and IDE for integrated development in SketchUp.
MIT License
42 stars 17 forks source link

Some stdlib documentation is missing. #3

Closed Aerilius closed 7 years ago

Aerilius commented 7 years ago

Some stdlib docs are missing from apis in DocProvider. Find out whether yardoc was not able to find or extract them from Ruby C source code or whether our generate_ruby_apis.rb excludes them from the generated apis.

Test case:

AE::ConsolePlugin.DocProvider.get_infos_for_doc_path('FileUtils')
>> []

This should include doc info for FileUtils.cp

MSP-Greg commented 7 years ago

I don't think generate_ruby_apis.rb:44 includes is picking up lib/*.rb.

Some std-lib's have folders, but almost all have their base class in lib.

Also, as to extensions, you can probably just glob ext/**/*.{rb,c}...

Aerilius commented 7 years ago

Thanks, I'm looking into it! I was careful including folders, because the first time parsing all the source with yardoc, it parsed many unimportant files, specs, tests.

Aerilius commented 7 years ago

This seems to be fixed with 8580bd3ed00f69885ca13f84be69ee03831eb3fb