-
Notifications
You must be signed in to change notification settings - Fork 14
How to update your image
You can easily update your image using the Github portal. We store the images in assets/img/
folder. To do this, first we need to go to your Fork of the repository.
Create a Fork
of the repository in your account
If you already have a fork
Navigate to your Fork of the repository and click on Fetch Upstream
to sync it to the current version.
In your fork, navigate to assets/img/
folder.
Click on Upload Files
to add the image in this folder.
- Prepare a profile pic, have a one word name (usually better to have it
<firstname><lastname>.jpg
or<your mcgill username>.jpg
, but anything works as long as it doesn't conflict with an image already in the repo) - Ensure this profile pic is within reasonable size
- Drag and drop your profile pic here.
- Click on "Commit Changes" to add it in your fork
- Now, navigate to
_data/students.yml
file and Click the pencil icon to edit the file.
- Find your entry. In there, edit the
image
field to your the filename of the image you added.
- Click "Commit Changes" to save your edits
Now it is time to submit your Pull Request! In your fork, you should see a "Contribute" link, click that and click on "Open Pull Request"
You should see a Pull Request page like this:
- Add a note in the field (could be same as before) and click on "Create pull request" to submit your change for review
After this step, we will receive the Pull Request in this page: https://github.com/rllabmcgill/new_website/pulls . As soon as someone in the moderation team accepts the PR, it will be reflected in the website.
Reasoning and Learning Lab, McGill University