-
Notifications
You must be signed in to change notification settings - Fork 25.6k
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 should explain upgrade path #275
Comments
Essentially this https://mmistakes.github.io/minimal-mistakes/docs/upgrading/ Everything is new and there isn't much that stayed the same from 2. If you made any customizations then you're probably in for some pain. If not then the best thing to do is dump everything except your content (posts, pages, collections, and assets) and add them to a fresh version of 3.0. Then set some Front Matter defaults for things like |
The compare feature on GitHub might be useful for you as it can be used to identify what changed between commits, tags, releases, etc. For example here's a diff compare between 2.2.1 and the latest release 2.2.1...3.1.1 You can also compare between forks so you might be able to diff yours against 3.1.1 to figure out what to update. To be honest so much changed I don't think I even know everything I touched to properly document an upgrade path. It's essentially a new theme with the spirit of the original. |
I am very excited to make use of the new features, and I'm very grateful to Mike for leading the way. The initial attempt is at:
To this I may need to write a program to scan through existing files to generate a combined file. |
I think all of this gets much better once the "themes as Right now the whole idea of forking "some dude's repo" and calling that a theme is a pretty big mess. It's probably not all that bad if you take the repo wholesale and don't change anything, but I think most people want to create their own thing. And that's when the real trouble begins as you really need to have an understanding of the source and track all changes to stay in sync. |
@wilsonmar RE: pulling in test data. The I personally haven't worked with git submodules so I can't comment on how viable or easy that would be to do. |
Submodules would involve using hooks as well. Not too difficult but may be scary. My question is whether it's better to put the theme in the sub-module rather than content in a sub-module, as the article suggests. |
@wilsonmar I thought about putting the theme in a submodule but that involves another layer of setup for the user. That and official support to do essentially the same thing is coming to Jekyll. I'd rather see how things shake out before committing to one or the other. |
Agreed. That's why for now I'm focusing on a bash script to download a theme, and populate it with demo data. Once that works, I'll overlay with my own folder of files instead of your demo files. But I'm stuck on errors after overlaying with your demo data. |
@Vaguery et. al, when modifying themes like this it's a good practice to fork it and keep your own copy, including modifications, for which your actual website builds from. Here's why:
|
Add Phantom theme
…ovement Pipeline improvement
Is there any hope of an upgrade walk-through for bringing a site from 2.X -> 3.X? We have extensive modifications of the base template(s) and designs in our 2.X-based site, and have no idea where 3.X overlaps or diverges from 2.X
The text was updated successfully, but these errors were encountered: