[Pkg-ruby-extras-maintainers] [PATCH] rdoc: don't generate
lucas at lucas-nussbaum.net
Thu Nov 24 21:58:46 UTC 2005
Diagrams generated by rdoc often use a lot of disk space. One of the
reasons is that rdoc generates a lot of very similar diagrams : only the
label (the filename, or the module name) changes.
This simple patch adds a "diagram cache" to rdoc's diagram.rb. It
checks if the same graph has already been generated in convert_to_png().
To make this possible:
- the patch removes the "label" from the graph
- the patch removes the "alt" attribute of the <img> tag in the
Can this patch be integrated into rdoc ?
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-ruby-extras-maintainers