Opened 3 years ago

#22088 new enhancement

Deduplicate _static directories in documentation

Reported by: infinity0 Owned by:
Priority: minor Milestone: sage-7.5
Component: documentation Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

The sagemath-doc-en Debian package is 700MB when installed, making it one of the largest (non-debug, non-data) packages in Debian. About 300MB of this is redundant:

$ find */en/ -name _static -type d | xargs -rn1 du -hs
30M	html/en/developer/_static
30M	html/en/constructions/_static
30M	html/en/a_tour_of_sage/_static
30M	html/en/reference/_static
30M	html/en/faq/_static
30M	html/en/prep/_static
30M	html/en/thematic_tutorials/_static
30M	html/en/website/_static
30M	html/en/installation/_static
30M	html/en/_static
30M	html/en/tutorial/_static
$ find */en/ -name _static -type d | xargs -rn1 diff -ru html/en/_static
Only in html/en/developer/_static: flowchart.dia
Only in html/en/developer/_static: flowchart.pdf
Only in html/en/developer/_static: flowchart.svg
Only in html/en/developer/_static: meld-screenshot.png
Only in html/en/_static: pdf.png
Only in html/en/_static: pdf.png
Only in html/en/_static: pdf.png
Only in html/en/_static: pdf.png
Only in html/en/_static: pdf.png
Only in html/en/_static: pdf.png
Only in html/en/_static: pdf.png
Only in html/en/_static: pdf.png
Only in html/en/_static: pdf.png

It would be good to deduplicate this, to reduce the cost for users of keeping this installed.

Change History (0)

Note: See TracTickets for help on using tickets.