-
Notifications
You must be signed in to change notification settings - Fork 20
Adding entries to the mentoring program page
The data for the mentoring program is updated by adding new entries to the mentoring program json
-file.
This can be done directly in github, rather than forking or working on a local copy.
Go to the mentoring data edit page, copy a previous entry (the main bulk between two curly braces), paste it below the last entry (with a comma between entries, i.e. before your {
), and edit the information.
Once you are satisfied with the new data you've entered, write a message, make sure to create a new branch, and propose the changes.
Once the changes have been proposed, you will need to add an image to go along with your new entry.
In the previous step, you made a new branch of the repository, a temporary copy that you will ask to be merged into the main repository later.
You will add your image to this branch, so that the image and the new entry come together.
Note: the image file name needs to match exactly to the name you wrote in the json
-file.
In the example images, a branch named drmowinckels-patch-1
was made.
Go to the main repository page, and look for your new branch in the dropdown meny at the top left of the file contents table.
The site should look more or less the same to you.
Navigate to content/activities/mentoring/img/, and select Add file
then Upload files
Drag and drop the image for your entry, write a commit message, and make sure it is committed to the branch you are on (should be selected by default).
Once this is done, you are redirected to the main repository page of your current branch, where a message that your branch has recently been pushed to.
Click the Compare & pull request
button that appears next to this message.
Change the head message for the pull request to clearly state what the proposed change is about.
Click on the Create pull request
button.
.
Once this is done, someone on the website team will review your proposed changes and make sure that everything is working as expected. If something needs changing, you will be contacted with information on what needs fixing. Once everything looks fine, your changes will be merged into the main repository and will appear on the website.
Hugo setup
Contributing