dlang / ddox

Advanced D documentation engine
MIT License
62 stars 20 forks source link

docs folder has a size of 3.5 gb #218

Open andre2007 opened 5 years ago

andre2007 commented 5 years ago

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?

s-ludwig commented 5 years ago

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.

schveiguy commented 2 years ago

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).