ddox icon indicating copy to clipboard operation
ddox copied to clipboard

docs folder has a size of 3.5 gb

Open andre2007 opened this issue 7 years ago • 2 comments

I generate structures based on the AWS API specifications from here: https://github.com/aws/aws-sdk-js/tree/master/apis (*.normal.json files)

If I generate almost all AWS services docs.json has a size of 20 MB and 641.000 lines. The docs folder produced by dub build -b ddox has a size of 3.5 GB.

Is this size expected, or should it be smaller?

andre2007 avatar Dec 10 '18 10:12 andre2007

With a large number of modules this doesn't sound unrealistic. Since the index and the basic page layout is replicated for every documented symbol, that can add up quite a bit.

s-ludwig avatar Dec 13 '18 18:12 s-ludwig

Hm... yeah this makes sense with live-served docs, but not for static docs. I wonder if using html tricks might make more sense (like javascript loading of the index, with a minimal placeholder).

schveiguy avatar Sep 18 '21 15:09 schveiguy