Skip to content
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

Version the tutorial #38

Open
5 tasks
jkarni opened this issue Jan 6, 2016 · 0 comments
Open
5 tasks

Version the tutorial #38

jkarni opened this issue Jan 6, 2016 · 0 comments

Comments

@jkarni
Copy link
Member

jkarni commented Jan 6, 2016

It would be nice to have multiple versions of the tutorial, corresponding to the major versions of servant. Preliminary work here.

The way I'd propose to do this:

  • Make separate branches for each version (e.g. versions/0.4, versions/0.5, etc.).
  • Make a separate branch for non-tutorial changes.
  • Make the deploy.sh script check what branch it's on.
    • If one of the version branches, then copy over only the tutorial content into an appropriate version subdir (tutorial/0.4/somecontent.html).
    • If the non-tutorial branch, only copy content outside of tutorial folder.
  • Redirect tutorial/somecontent.html to tutorial/<latest>/somecontent.html.
  • Make sure links still work locally and on travis.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant