# Changes between Version 17 and Version 18 of Ticket #25111

Ignore:
Timestamp:
Aug 24, 2018, 10:05:30 AM (4 years ago)
Comment:

Too bad that I missed this ticket earlier. This should have been an 8.3 blocker.

By the way, that 20GB figure is not really how much disk space is being taken up. There is a bug (I have no idea where this comes from) that puts a "mathjax" directory in each _static, which is a hard link to the mathjax sources (i.e. under $SAGE_LOCAL/share/mathjax). This inexplicably contains a symlink to itself as$SAGE_LOCAL/share/mathjax/mathjax. In the _static directories, however, this symlink is being dereferenced and converted to a hard link as well, so you end up with an infinite loop of hardlinks, which tools like du don't handle well when counting (the size it's reporting is probably just being limited by some max depth parameter).

If I delete all those nonsense mathjax hardlinks I then get:

$du -sh local/share/doc/sage/html/ 779M local/share/doc/sage/html/ and$ du -sh local/share/doc/sage/
2.0G    local/share/doc/sage/

so I think it's not all as bad as it seems.

### Legend:

Unmodified
 v17 Until Sage 8.2, the _static directories in the generated HTML documentation of the reference manual were symlinks to a single master _static directory. Now all the files are copied, leading to a huge explosion in size of the built documentation (from 1.8GB in Sage 8.2 to about 20GB in Sage 8.3). This probably got broken by the Sphinx upgrade #24935. Until Sage 8.2, the _static directories in the generated HTML documentation of the reference manual were symlinks to a single master _static directory. Now all the files are copied, leading to a huge explosion in size of the built documentation (from 1.8GB in Sage 8.2 to about 20GB in Sage 8.3).