-
Notifications
You must be signed in to change notification settings - Fork 67
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
Consolidate publish settings in config.yml #264
Comments
My thought process was that you might expose sensitive information in a I assumed to put it in the config.yml file but then it would need to be version controlled in order the repo to work. Thoughts? |
That's a fair point, though I would still suggest including all config in config.yml and allow users to override certain settings if needed via a separate file. Other build systems do something similar (e.g. maven with pom.xml and settings.xml/settings-security.xml and gradle with build.gradle and gradle.properties). Feel free to close this out. |
I like your suggestion. As you said it's less confusing for users getting |
I like both ideas. Perhaps the default project should include a |
just to add in a different use case/view point, i personally prefer the separate configuration files. not only for keeping sensitive data private, but also for keeping concerns separated (e.g. so while i agree that the basic/starter use case should allow the data to all be put into the same data file, it should not prevent users from keeping things separate. in fact this is something i would like to see in Ruhoh in general: allowing data files to be defined anywhere and be merged in the "cascade" similar to how layouts and partials work. thus, a page that references some data i apologize for jumping on this thread, just wanted to give another POV. and i will make a feature request with the above brain dump. peace, w |
This is an excellent suggestion. When I first saw the cascade, I assumed it applied to everything. It's such a powerfully simple concept, it feels like it should. Discovering what does and does not in fact cascade (and how to work around what doesn't but seems like it should) was a big part of the learning curve early on. Edit: Holy cow, I just noticed ruhoh/silly. |
ditto
and ditto 👍 |
There's really no reason why the publication settings need to be a in a separate publish.yml or publish.json. Having all config in one location eliminates confusion and reduces friction for new users.
The text was updated successfully, but these errors were encountered: