From c945cc3b102344011febd5af116a8df77e110341 Mon Sep 17 00:00:00 2001 From: Stephen Ogunniyi <50841248+yomistel@users.noreply.github.com> Date: Mon, 20 May 2019 21:04:01 +0100 Subject: [PATCH 1/2] Create website index file --- docs/index.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/index.md diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..c0db893 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,6 @@ +--- +layout: default +title: Home +--- + +Hello, world! From 8755736eb88a3215023faac6de12de58255957e8 Mon Sep 17 00:00:00 2001 From: Stephen Ogunniyi <50841248+yomistel@users.noreply.github.com> Date: Tue, 21 May 2019 06:58:44 +0100 Subject: [PATCH 2/2] Add real content into index file. --- docs/index.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index c0db893..81a9748 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,4 +3,20 @@ layout: default title: Home --- -Hello, world! +# My GitHub Pages site + +This page was created from the tutorial in the [mapzen/write-the-docs-tutorial repository](https://github.com/mapzen/write-the-docs-tutorial). + +## General workflow for making a website with GitHub Pages + +Follow these general instructions to make a website with _GitHub Pages_. + +1. Create a new repository for your site. +2. Create a branch to hold your changes. +3. Add some files for your website. At a minimum, you need a file for the homepage. You can name this file index.md and use markdown formatting, or index.html and add the basic HTML page structure. +4. Open a pull request to propose adding your changes into the master branch. +5. Merge files into the master branch. +6. Go to the repository settings and enable GitHub Pages on the master branch (or docs folder in it). +7. Open browser to the page. + +Get more details in the [GitHub Pages documentation](https://help.github.com/categories/github-pages-basics/).