-
Notifications
You must be signed in to change notification settings - Fork 544
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
Print migration guide on version SDK/Starport version mismatch #1548
Comments
@Pantani any thoughts about the impl details on this? This is what I have in my mind: We create a new func under a pkg something like: When we need to navigate users to the migration guideline, we basically call Then, If needed we can also use anchors |
I like the approach. Is it similar I thought.... we will keep all these migration markdown files in the same folder? I can create a |
Instead of adding a new embed line, you can basically use https://pkg.go.dev/io/fs#Sub to access migration dir from docs.Docs |
I created the logic to create the HTML files based on the migrations markdown, but I'm not sure the best place to verify the version mismatch and call the method. |
Output the migration file from
docs
.The text was updated successfully, but these errors were encountered: