forked from gulliver/rtfm
Why are files of the HTML sources removed? #19
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi folks,
Can anyone share with me, why the following files are removed from the HTML sources before they are bundled?
Cheers!
I remember that I also wondered why they were removed, but they did not seem to be missing when browsing the HTML version. But probably @gulliver knows more.
see
1074512e25
.seems to be an optimisation for size of html-output.
But @gulliver , How do you know which files to remove from the build without breaking the HTML? Did you learn the dependencies by heart to tell useful und useless stuff apart?
Cheers!
please ask muli for that, he did that optimisation, see referenced commit in my comment.
@muli,
May I ask you to share your 2 Cents with us why some source files are deleted after generation of the HTML Hanbuch variant?
Cheers!
I don't remeber exactly because it's over a year ago that I laid hands on the handbook but I've got the old version still lying around. As far as I see the main content is rendered into a single
index.html
file. I guess I looked at the<head>
of that file and removed all files that were not referenced there.As @gulliver mentioned we tried to save space back then so I removed what I could. Biggest chunk were the fonts and if removing these files really made a nesseccary impact may be debatable (not sure how big the pngs are though).
Hi @muli ,
Thank you so much for clarification and documenting your thoughts here for future use.
Cheers!