Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs folder has a size of 3.5 gb #218

Open
andre2007 opened this issue Dec 10, 2018 · 2 comments
Open

docs folder has a size of 3.5 gb #218

andre2007 opened this issue Dec 10, 2018 · 2 comments

Comments

@andre2007
Copy link

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
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants