[Rubycocoa-devel 608] Re: gen_bridge_doc

Zurück zum Archiv-Index

Laurent Sansonetti lsans****@apple*****
Tue Jan 16 02:49:03 JST 2007


Excellent work Eloy!

My current ADC library isn't up to date so I get parsing errors, I  
will manage to get the latest version tonight to test your script.

About the integration with the build process, I suggest that we  
introduce a new install.rb phase ("doc" for example), so that the  
documentation generation will be separated from the default config/ 
setup phases.

$ ruby install.rb doc # -> generate the HTML/RI files in ./framework/ 
doc/(AppKit|Foundation|...)/*

Laurent

On Jan 15, 2007, at 4:05 PM, Eloy Duran wrote:

> Hello guys,
>
> I've just committed the following:
>
> * framework/tool/gen_bridge_doc.rb,
>     framework/tool/gen_bridge_doc/lib/cocoa_ref.rb
>     framework/tool/gen_bridge_doc/rdocify_framework.rb
>   Added the first support for Apple HTML Reference Docs to RDoc  
> generation.
>   At this moment gen_bridge_doc.rb will only try to parse the AppKit  
> framework.
>   By default it will not generate any rdoc files for reference files
> caused errors during parsing.
>   Once all errors for AppKit have been resolved other frameworks will
> gradually be added,
>   until we're on par with the supported frameworks in BridgeSupport.
>
> So, you can try it out by doing the following:
> $ cd framework/tool
> $ ruby gen_bridge_doc.rb build
>
> This should leave a 'doc' dir in the current dir which contains the  
> html files.
>
> Laurent, you talked about adding this to the post_config phase?
> So there should be a check for the 'hpricot' library and then run the
> script like above...
>
> Cheers,
> Eloy
> _______________________________________________
> Rubycocoa-devel mailing list
> Rubyc****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel




More information about the Rubycocoa-devel mailing list
Zurück zum Archiv-Index