JJ / Raku-Doc-TypeGraph

Parse a description of the types for documentation.
Artistic License 2.0
0 stars 2 forks source link

Graph should probably be cached #15

Open JJ opened 5 years ago

JJ commented 5 years ago

They are generated every single time. They should probably be cached.

antoniogamiz commented 5 years ago

They are generated because htmlify.p6 is told to do it. See https://github.com/perl6/doc/blob/master/htmlify.p6#L201

JJ commented 5 years ago

Still. Now that we're refactoring we should probably cache them.

antoniogamiz commented 5 years ago

What do you mean by "cache them"? It already detects if the svg files have already been generated in html/images and only recreate them if force is set to True.

JJ commented 5 years ago

Generate them only if the corresponding line in type-graph.txt has changed.

JJ commented 3 years ago

I probably closed this by mistake; I did nothing related to it. Reopening.