From: ES Date: 2005-08-27T15:32:30+09:00 Subject: Re: [Ann] RueDoc: rdoc-hacks 0.1.2 Terrible! Incorrect example URLs. Let us attempt again: Examples: http://www.magical-cat.org/projects/ruedoc/examples/yaml http://www.magical-cat.org/projects/ruedoc/examples/oughtve http://www.magical-cat.org/projects/ruedoc/examples/ruby-1.9 Download: http://www.magical-cat.org/projects/ruedoc/download/ruedoc-0.1.2.tar.gz http://www.magical-cat.org/projects/ruedoc/download/ruedoc-0.1.2.tar.bz2 Documentation: http://www.magical-cat.org/projects/ruedoc/rdoc/ ES wrote: > Exciting news! :) > > rdoc-hacks got some new functionality: firstly, it is able to > RueDoc.fix data output by RDoc to add in missing method names > from C, something sorely missing from the previous version. > > The second and far more exciting change is RueDoc.normalize, > which takes the data structure generated by RDoc and rearranges > it into a much more sensible one. This makes it much easier to > do arbitrary things with the data (see Examples for a plain YAML > dump of a structure). I included a description of the generated > data structure at the bottom of this message. > > The frameless template underwent some minor changes, no real > new functionality. Still seems to suffer from previous problems. > > Examples: > http://www.magical-cat.org/projects/ruedoc/yaml > http://www.magical-cat.org/projects/ruedoc/oughtve > http://www.magical-cat.org/projects/ruedoc/ruby-1.9 > > Download: > http://www.magical-cat.org/projects/ruedoc/download/ruedoc-0.1.2.tar.gz > http://www.magical-cat.org/projects/ruedoc/download/ruedoc-0.1.2.tar.bz2 > > Documentation: > http://www.magical-cat.org/projects/ruedoc/rdoc/ > > > ================| Normalized data format |==================== > > Calling RueDoc.normalize on the data generated by > RDoc (see below) generates this data structure: > > modules: > classes: > - > name: > parent: > type: > desc: > files: > - > path: > > constants: > - > name: > value: > desc: > > public_class_methods: > - > name: > params: <(parameters)> > desc: > source: > example: # C methods only > > protected_class_methods: > private_class_methods: > public_instance_methods: > protected_instance_methods: > private_instance_methods: > > files: > - > name: > path: > desc: > modified: > requires: > - > name: > E -- template void quack(duck& d) { d.quack(); }