Skip to content

Commit b442b16

Browse files
Revert "chore: Revert updates to honor maintenance mode" (#1150)
1 parent cbf6fc5 commit b442b16

27 files changed

Lines changed: 674 additions & 650 deletions

.github/dependabot.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/steps/-step.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/steps/0-welcome.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/steps/1-enable-github-pages.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/steps/1-step.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Step 1: Enable GitHub Pages
2+
3+
### 📖 Theory: What is GitHub Pages?
4+
5+
GitHub Pages lets you turn your repository into a website. This is a great way to share your project, resume, portfolio, documentation, or even a blog with the world.
6+
7+
When you enable GitHub Pages on a repository, GitHub takes the content that's on the main branch and publishes a website based on its contents.
8+
9+
> [!NOTE]
10+
> Learn more in the [GitHub Pages documentation](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages).
11+
12+
### ⌨️ Activity: Enable GitHub Pages
13+
14+
15+
16+
1. Open this repository in a new browser tab so you can work on the steps while you read the instructions in this tab.
17+
1. Under your repository name, click **Settings**.
18+
1. Click **Pages** in the **Code and automation** section.
19+
1. Ensure **Deploy from a branch** is selected from the **Source** drop-down menu, and then select `main` from the **Branch** drop-down menu.
20+
1. Click the **Save** button.
21+
22+
1. With GitHub Pages enabled Mona will be preparing the next step in this exercise!
23+
24+
25+
<details>
26+
<summary>Having trouble? 🤷</summary><br/>
27+
28+
- Turning on GitHub Pages creates a deployment of your repository. GitHub Actions may take up to a minute to respond while waiting for the deployment. Future steps will be about 20 seconds; this step is slower.
29+
30+
</details>

.github/steps/2-configure-your-site.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/steps/2-step.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## Step 2: Customize your homepage
2+
3+
Good job! You turned on GitHub Pages! :tada:
4+
5+
You can see the link to your website at the top of the [Pages](https://github.com/{{full_repo_name}}/settings/pages) section of your repository settings _(you may need to refresh it)_
6+
7+
> [!TIP]
8+
> Keep your GitHub Pages [website](https://{{login}}.github.io/{{repo_name}}/) open in a separate browser tab and keep it handy!
9+
>
10+
> As you progress through this exercise, you'll see your changes reflected on your live site.
11+
12+
### 📖 Theory: Customizing your homepage
13+
14+
You can customize your homepage by adding content to `index.md` file. As you commit it to the `main` branch your website will be updated to display your personalized content!
15+
16+
### ⌨️ Activity: Create your homepage
17+
18+
1. Browse to the `index.md` file in the `main` branch.
19+
1. In the upper right corner, open the file editor.
20+
1. Type the content you want on your homepage. You can use Markdown formatting on this page.
21+
1. (optional) You can also modify `title:` or leave it as it is.
22+
1. Commit your changes to the `main` branch.
23+
1. As you commit your changes Mona will prepare the next step in this exercise!
24+
25+
26+
<details>
27+
<summary>Having trouble? 🤷</summary><br/>
28+
29+
- Make sure you are editing the `index.md` file in the `main` branch.
30+
31+
</details>

.github/steps/3-customize-your-homepage.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/steps/3-step.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
## Step 3: Configure your site
2+
3+
Nice work updating your home page :sparkles:
4+
5+
It's time we give it a little bit of **configuration** so it looks nice!
6+
7+
### 📖 Theory: Jekyll and \_config.yml
8+
9+
Jekyll uses a file titled `_config.yml` to store settings for your site, your theme, and reusable content like your site title and GitHub handle. Learn more in the [Jekyll configuration documentation](https://jekyllrb.com/docs/configuration/).
10+
11+
For this activity, we will use a blog-ready theme named "minima".
12+
13+
### ⌨️ Activity: Configure your site
14+
15+
1. Browse to the `_config.yml` file in the `main` branch.
16+
1. In the upper right corner, open the file editor.
17+
1. Add a `theme:` set to **minima** so it shows in the `_config.yml` file as below:
18+
19+
```yml
20+
theme: minima
21+
```
22+
23+
1. (optional) You can modify the other configuration variables such as `title:`, `author:`, and `description:` to further customize your site.
24+
25+
<details>
26+
<summary>Example </summary><br/>
27+
28+
```yml
29+
theme: minima
30+
title: {{ login }}'s personal blog
31+
description: This is where I share cool stuff about my life
32+
author: {{ login }}
33+
```
34+
35+
</details>
36+
37+
1. Commit your changes to the `main` branch.
38+
1. As you commit your changes Mona will prepare the next step in this exercise!
39+
40+
41+
<details>
42+
<summary>Having trouble? 🤷</summary><br/>
43+
44+
- Make sure you are editing the `_config.yml` file in the `main` branch`.
45+
- Double-check your YAML formatting. Indentation and colons matter!
46+
47+
</details>

.github/steps/4-create-a-blog-post.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)