From a0bd5244c8c6a0f913377e1caa48967c6b76db48 Mon Sep 17 00:00:00 2001 From: Tom Johnson Date: Thu, 18 Feb 2016 14:06:02 -0800 Subject: [PATCH] fixing footer image display. needed closing quote in footer.html file code. also needed extra ../ path in config file. --- Gemfile | 1 + Gemfile.lock | 6 ++++++ _config.yml | 24 ++++++++++++++++++------ _includes/footer.html | 2 +- 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 97355ea..780793c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ source 'https://rubygems.org' gem 'github-pages' +gem 'pygments.rb' diff --git a/Gemfile.lock b/Gemfile.lock index a6c5434..3f97bb6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -100,7 +100,11 @@ GEM mini_portile2 (~> 2.0.0.rc2) octokit (4.2.0) sawyer (~> 0.6.0, >= 0.5.3) + posix-spawn (0.3.11) public_suffix (1.5.3) + pygments.rb (0.6.3) + posix-spawn (~> 0.3.6) + yajl-ruby (~> 1.2.0) rb-fsevent (0.9.7) rb-inotify (0.9.5) ffi (>= 0.5.0) @@ -118,12 +122,14 @@ GEM ethon (>= 0.8.0) tzinfo (1.2.2) thread_safe (~> 0.1) + yajl-ruby (1.2.1) PLATFORMS ruby DEPENDENCIES github-pages + pygments.rb BUNDLED WITH 1.10.6 diff --git a/_config.yml b/_config.yml index 5fbf52a..2dccdc9 100644 --- a/_config.yml +++ b/_config.yml @@ -1,3 +1,5 @@ +# this is simply copied over from config/config_designers.yml + # project definitions project: mydoc_designers audience: designers @@ -11,7 +13,7 @@ homepage_title: Jekyll doc theme for designers site_title: Jekyll theme for designers project_folder: mydoc company_name: Your company -footer_image_location: ../common_images/company_logo.png +footer_image_location: ../../common_images/company_logo.png github_editme_path: tomjohnson1492/documentation-theme-jekyll/edit/reviews disqus_shortname: idrbwjekyll # variables @@ -41,11 +43,21 @@ exclude: host: 127.0.0.1 feedback_email: tomjohnson1492@gmail.com -highlighter: rouge -markdown: kramdown -kramdown: - input: GFM - auto_ids: true +# these settings should work, but they don't seem to apply the right highlighting + +#highlighter: rouge +#markdown: kramdown +#kramdown: +# input: GFM +# auto_ids: true +# hard_wrap: false +# syntax_highlighter: rouge + +highlighter: pygments +markdown: redcarpet +redcarpet: + extensions: ["no_intra_emphasis", "fenced_code_blocks", "tables", "with_toc_data"] + collections: tooltips: diff --git a/_includes/footer.html b/_includes/footer.html index fdc2659..95a5004 100755 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -3,7 +3,7 @@ \ No newline at end of file