On Tue, Dec 16, 2008 at 8:10 AM, Michael Droettboom <md...@stsci.edu> wrote:

> Another option would be to not generate the high-res png and pdf
> examples.  (Either or both).  Just removing them after the fact won't
> work, since one would end up with broken links from the docs.  We would
> also have to change the html to not include those links.  It should be
> fairly simple to provide an option to the doc build system to do this,
> and I'm happy to implement that if we all agree that's the direction to
> take.

This is fine with me.  Just add an rc option

  doc.minimal_footprint

or something like that which drops the high res and pdf.  This will
prbably reduce the size 50-60%

I have also removed the mpl_data symlink in my doc tree, and am still
testing before I commit, because that is causing our binaries to get
much larger on platforms which do not properly support linking.
Instead, we'll refer explicitly to ../lib/matplotlib/mpl-data in the
docs.  I am leaving the mpl_examples symlink because of all the
relative path woes in pyplot.

Other than simple optimizations like this, I am discinclined to try
and build smaller manuals simply to reduce their size.  The feature
that caused the explosion in size between 98.3 and 98.5 is the
gallery, and image enhanced examples, which is arguably the most
useful feature on the site.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to