From 7254df404c2e956323ffb55b59081ed875536732 Mon Sep 17 00:00:00 2001 From: tomjohnson1492 Date: Wed, 9 Nov 2016 22:54:04 -0800 Subject: [PATCH] fixing edit me links --- Gemfile.lock | 1 + _layouts/page.html | 3 --- index.md | 6 +++--- pages/mydoc/mydoc_supported_features.md | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 5288179..81538b6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -134,6 +134,7 @@ PLATFORMS DEPENDENCIES github-pages + jekyll BUNDLED WITH 1.13.2 diff --git a/_layouts/page.html b/_layouts/page.html index ca15833..3cf3af5 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -38,15 +38,12 @@ layout: default {% include toc.html %} {% endunless %} - {% unless jekyll.environment == "production" %} {% if site.github_editme_path %} Edit me {% endif %} - {% endunless %} - {{content}}
diff --git a/index.md b/index.md index 2e9a591..db3e4b5 100644 --- a/index.md +++ b/index.md @@ -36,7 +36,7 @@ You'll want [Bundler](http://bundler.io/) to make sure all the Ruby gems needed Use this option if you're not planning to publish your Jekyll site using [Github Pages](https://pages.github.com/). -Bundler's Gemfile is how it specifies and manages project dependencies are managed. Although this project includes a Gemfile, this theme doesn't have any dependencies beyond core Jekyll. The Gemfile is used to specify gems needed for publishing on Github Pages. If you're not planning to have Github Pages build your Jekyll project, delete these two files from the theme's root directory: +Bundler's Gemfile is how it specifies and manages project dependencies are managed. Although this project includes a Gemfile, this theme doesn't have any dependencies beyond core Jekyll. The Gemfile is used to specify gems needed for publishing on Github Pages. **If you're not planning to have Github Pages build your Jekyll project, delete these two files from the theme's root directory:** * Gemfile * Gemfile.lock @@ -55,7 +55,7 @@ jekyll serve ### 4. Option 2: Build the Theme (*with* the github-pages gem) {#option2} -If you *are* in fact publishing on Github Pages, leave the Gemfile and Gemfile.lock files in the theme.The Gemfile tells Jekyll to use the github-pages gem. **However, note that you cannot use the normal `jekyll serve` command with this gem due to dependency conflicts between the latest version of Jekyll and Github Pages** (which are noted [briefly here](https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/). +If you *are* in fact publishing on Github Pages, leave the Gemfile and Gemfile.lock files in the theme.The Gemfile tells Jekyll to use the github-pages gem. **However, note that you cannot use the normal `jekyll serve` command with this gem due to dependency conflicts between the latest version of Jekyll and Github Pages** (which are noted [briefly here](https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/)). You need Bundler to resolve these dependency conflicts. Use Bundler to install all the needed Ruby gems: @@ -69,7 +69,7 @@ Then *always* use this command to build Jekyll: bundle exec jekyll serve ``` -(If you want to shorten this long command, you can put this code in a file such as jekyll.sh (on a Mac) and then simply type `. jekyll.sh` to build Jekyll.) +If you want to shorten this long command, you can put this code in a file such as jekyll.sh (on a Mac) and then simply type `. jekyll.sh` to build Jekyll. ## Configure the sidebar diff --git a/pages/mydoc/mydoc_supported_features.md b/pages/mydoc/mydoc_supported_features.md index 242314f..bbd1953 100644 --- a/pages/mydoc/mydoc_supported_features.md +++ b/pages/mydoc/mydoc_supported_features.md @@ -13,7 +13,7 @@ folder: mydoc Before you get into exploring Jekyll as a potential platform for help content, you may be wondering if it supports some basic features needed to fulfill your tech doc requirements. The following table shows what is supported in Jekyll and this theme. -## Supported feautres +## Supported features Features | Supported | Notes --------|-----------|-----------