Open
Description
Describe the bug
I'm working with a GraphQL API with over 8000 types. Here is the storage used after generation:
6.4G docs/types
1.2M docs/introduction
1.0G docs/mutations
1.2G docs/queries
272K docs/_app/immutable/nodes
36K docs/_app/immutable/entry
4.5M docs/_app/immutable/chunks
1.5M docs/_app/immutable/assets
6.3M docs/_app/immutable
6.3M docs/_app
8.6G docs
Each type html file comes in at around 1.2M. I believe this is due to the side bar being statically generated for every page. I'd like for Magidoc to only generate the side bar once and include it in each type page. This would theoretically cut down on generation time, memory resources, page load time, and overall storage usage.
Reproduction
Schema available upon request.
Logs
No response
System Info
System:
OS: macOS 13.5
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 846.94 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.3.0 - /usr/local/bin/node
npm: 9.6.7 - /usr/local/bin/npm
pnpm: 8.6.12 - /usr/local/bin/pnpm
Browsers:
Chrome: 116.0.5845.110
Safari: 16.6
### Severity
Serious, but I can work around it