This document provides instructions on how to generate a static website using Jekyll and GitHub Pages to display your resume.
Andrew Etter describes the principles of writing good software documentation in his book, Modern Technical Writing. Some of the key principles mentioned are:
- Use a lightweight static website generator like Jekyll to format documentation. Lightweight static websites are secure and easy to maintain as they do not need a server and database to function. Additionally, tools like Jekyll also allow us to quickly change the appearance of our documentation by applying different themes.
- Write documentation in a markup language like Markdown. As we are writing and editing documentation, markup languages allow us to control the layout and styling of our text. It gives us the ability to create lists, add headers, bold or italicize text, and more, by following a simple set of syntax rules.
- Use a distributed version control tool like GitHub. Platforms like GitHub make it easy for people to collaborate and write documentation together. By keeping shared work in repositories, authors can contribute to others' writing, keep track of new changes, and see what others are working on.
Together, we will apply these principles by hosting a resume written in Markdown in a lightweight static website created using Jekyll and GitHub Pages.
- Have a registered account on GitHub. Sign up here to create an account.
- Have a Markdown file containing the content of your resume formatted the way you like. Please check this tutorial if you are new to Markdown.
- Log into your GitHub account.
- Click on the green button that says New on the left-hand side of your GitHub homepage.
- Enter a repository name with the format
[your-github-username].github.io
. (Ex: mr-krabs.github.io) - Enter a short description that describes what the repository is for. This could be as simple as: "My resume."
- Keep the visibility of the repository public.
- Tick off the box that says Add a README file. This will create a Markdown file called README and create the repository's main branch. By default, this README file will contain the name of the repository and the description you entered.
- Select the MIT License option in the Choose a license dropdown.
- Click the green Create repository button at the bottom of the page.
You have now created a repository where you can upload and store your files!
- Inside the repository you just created, click on the Settings tab in the top navigation bar.
- Click on Pages on the left-hand side under the Code and automation section.
- Select the
main
option in the first dropdown under the Branch section. - Keep the second dropdown under the Branch section to
/(root)
. - Click on the Save button in the Branch section.
- Open a new tab in your browser.
- Enter
https://[your-github-username].github.io
in the address bar of the new tab. - Check that you can see the content of your README file on your website. You should see your repository's name and description.
You have successfully created a simple static website!
- Find the Markdown file that has your resume content on your computer.
- Rename that file as
index.md
. - Go back to your GitHub repository.
- Click on the
+
symbol next to the green dropdown button that says Code. - Select the Upload files option from that dropdown. This will redirect you to the upload file page.
- Drag your
index.md
file to the designated box on the screen. - Click on the green Commit changes button at the bottom of the page. You will be redirected back to the main page of your repository.
- Go to the Actions tab in the top navigation bar.
- Check that an item in the list of workflows with an orange dot was just added. This means that your changes are currently being uploaded to your website.
- Wait until the orange dot turns into a green checkmark. This indicates that your changes are now live on your website.
- Go to your website at
https://[your-github-username].github.io
. - Check that your resume content is now showing instead of the content in your README file.
You are now showing your resume on your website! Next, let's apply a theme to make it look nicer!
- Go to the list of GitHub supported Jekyll themes here.
- Click on the name of the theme you would like to use from the list. This should redirect you to a GitHub repository for that theme.
- Scroll down until you find the README in that repository.
- In the README file, find the Usage section.
- Under the Usage section, click on the symbol circled in red to copy the text.
- Go back to your own GitHub repository.
- Click on the
+
symbol next to the green Code button on the main page of your repository. - Select the Create new file option. This will redirect you to a page with a text editor.
- Enter
_config.yml
in the box that saysName your file...
at the top of the text editor. - Paste the text you copied in step 5 into the text box.
- Type
title: Resume
on a new line to add a page title to your website. - Type
description: [A short description about yourself]
on a new line. The description could be as simple as "Hello, my name is [your-name]." Your_config.yml
file should look something similar to this (I used the Minimal theme in this example): - Click on the green Commit changes button on the top right of the text editor.
- In the popup that appears, click the green Commit changes button.
- Go to the Actions page in your repository to see the new workflow was added.
- Wait for the workflow to show a green checkmark.
- Once the workflow is done, go to
https://[your-github-username].github.io
. You should see that your resume now has your chosen theme applied to it.
You are now hosting your resume on GitHub pages with a Jekyll theme!👏
- Markdown tutorial
- Markdown Reference Sheet
- Introduction to GitHub
- How to add Jekyll Theme to GitHub Pages
- Modern Technical Writing by Andrew Etter
- Aivee Teodocio, aivee-teodocio
- Agape Seo, gapy04 - Helped review this guide
- Eseosa Ataga, Marie-Lenora - Helped review this guide
- Katherine Oelsner, octokatherine - Created the README Template used in this project
- Pages-themes - Created the Minimal Jekyll theme
Lightweight static websites are websites that do not need a server or database to work, making them a fast and secure way to host documentation. This type of website is good to use when your main interest is sharing information with others and don't need to incorporate a lot of user interactions, such as simply sharing your resume.
Check that all workflows in the Actions page in your repository have finished. Workflows completed will have a green checkmark next to them. If you see that a workflow has an orange dot next to it, this means that GitHub is still working on updating your website with your changes.