Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 2.4 KB

File metadata and controls

56 lines (35 loc) · 2.4 KB

Contributing to Open-Learning websites

This document covers the process we follow to publish new content on the open-learning websites

Fork

Publishing is handled using GitHub pull-requests from private fork so first you have to fork this repository.

Branch

All your changes needed for the post (such as media) has to be contained in the same pull-request. To make things more organized you should contain changes in a separate branch.

Write

All the websites use skinny-bones-jekyll as their engine.

If you are creating a new post there's a guide on how to do that.

Submit

When you have your post completed sent it using a pull-request to the correct repository and branch:

Review

Each post should be reviewed by someone in the @open-learning/pr team before getting published.

Merge

Publishing is completed by merging your work into the targe branch.

Sync

If changes were made that should be synchronized between the site we do that with git cherry-pick:

note

In this example we asume out remote is called initiative, the remote url is https://github.com/open-learning/open-learning.github.io.git and the last commit is a merge with all changes we want

git remote add initiative https://github.com/open-learning/open-learning.github.io.git
git fetch initiative
git cherry-pick -e -m 1 FETCH_HEAD

This will open an editor where we can edit the git commit message.

note

If the commit message contains GitHub ticket references please qualify with user/repo