I have two question about the way we need to organize our collections. When we are using a collection_dir for all our collections, why
1- we need to have underscore for every collection folder?
2- we need to list all collections in config file?
These two requirements seems unnecessary to me. Especially when I have hundreds of collections.
Because that’s how it has been designed.
To get the Core Team’s feedback on your idea, open a “feature request” issue at the GitHub Repo.
yes I wanted to get ideas before submitting a feature request.
Just opened a feature request here:
opened 12:47PM - 28 Apr 19 UTC
closed 09:11AM - 18 Nov 19 UTC
feature
stale
frozen-due-to-age
<!--
Hi! Thanks for considering to file a feature request with Jekyll. Please… take the time to
answer the basic questions. Please try to be as detailed as possible.
Thanks!
-->
## Summary
<!--
A one-paragraph explanation of the feature.
-->
I have two feature request for collections when we are placing all of them inside collections_dir folder as defined in config file.
1- Automatically add them to jekyll. Meaning no need for list all of them inside config file.
2- The underscore at the beginning of each collection would be optional.
## Motivation
<!--
Why do you want to see this feature in Jekyll? What makes you sure that it should not be
implemented at the plugin level, but in Jekyll core? What use cases does it support?
NOTE: Please be mindful of the Jekyll philosophy (https://jekyllrb.com/philosophy/),
particularily Section 5. Think about if 90% of the users would benefit from your
feature request, and whether your feature would be better off in a plugin.
-->
Suggestion 1 would be really helpful when we have hundreds of collections. And it would still be helpfull when we have few collections. Cause I see no benefit of listing all collections in the config file when we already defined a collections_dir
Suggestion 2 makes our folder naming a little more humanized. And its also helpfull in some scenarios. For example lets say we have tons of static files in our collections. Currently incremental build is not fully working in every scenario. So when we have static files in our collections, they are rebuilded and should be transferred to the server again and again. If there is no underscore for each collection root folder. As far as I know we can directly sync our static files from collections_dir folder to server. And since their mtimes arent changed, they wouldnt be transferred again and again. I know we can use checksums. But its not supported by some softwares (for example minio client and s3cmd)