Skip to content

Version the tutorial #38

Description

@jkarni

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions