From 4fb0c7d6a74a80dc4099256e9661619ea2175603 Mon Sep 17 00:00:00 2001 From: tomjohnson1492 Date: Sun, 4 Sep 2016 21:34:45 -0700 Subject: [PATCH] accidentially deleted some files --- Gemfile.lock | 115 +++++++++++++++++++++++-------------------- _config.yml | 104 ++++++++++++++++++++++++++++++++++++++ _layouts/post.html | 2 +- pages/news/news.html | 7 ++- tooltips.json | 4 +- 5 files changed, 172 insertions(+), 60 deletions(-) create mode 100644 _config.yml diff --git a/Gemfile.lock b/Gemfile.lock index e3c2de8..84073dd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,124 +1,133 @@ GEM remote: https://rubygems.org/ specs: - RedCloth (4.2.9) - activesupport (4.2.5.1) + activesupport (4.2.7) i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.3.8) + addressable (2.4.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.10.0) - colorator (0.1) - ethon (0.8.1) + colorator (1.1.0) + ethon (0.9.0) ffi (>= 1.3.0) - execjs (2.6.0) + execjs (2.7.0) faraday (0.9.2) multipart-post (>= 1.2, < 3) - ffi (1.9.10) + ffi (1.9.14) + forwardable-extended (2.6.0) gemoji (2.1.0) - github-pages (52) - RedCloth (= 4.2.9) - github-pages-health-check (= 1.0.1) - jekyll (= 3.0.3) + github-pages (94) + activesupport (= 4.2.7) + github-pages-health-check (= 1.2.0) + jekyll (= 3.2.1) jekyll-coffeescript (= 1.0.1) - jekyll-feed (= 0.4.0) + jekyll-feed (= 0.5.1) jekyll-gist (= 1.4.0) - jekyll-mentions (= 1.0.1) + jekyll-github-metadata (= 2.0.2) + jekyll-mentions (= 1.2.0) jekyll-paginate (= 1.1.0) - jekyll-redirect-from (= 0.9.1) + jekyll-redirect-from (= 0.11.0) jekyll-sass-converter (= 1.3.0) - jekyll-seo-tag (= 1.3.1) + jekyll-seo-tag (= 2.0.0) jekyll-sitemap (= 0.10.0) - jekyll-textile-converter (= 0.1.0) - jemoji (= 0.5.1) - kramdown (= 1.9.0) + jemoji (= 0.7.0) + kramdown (= 1.11.1) liquid (= 3.0.6) + listen (= 3.0.6) mercenary (~> 0.3) - rdiscount (= 2.1.8) - redcarpet (= 3.3.3) - rouge (= 1.10.1) + minima (= 1.0.1) + rouge (= 1.11.1) terminal-table (~> 1.4) - github-pages-health-check (1.0.1) + github-pages-health-check (1.2.0) addressable (~> 2.3) net-dns (~> 0.8) octokit (~> 4.0) public_suffix (~> 1.4) typhoeus (~> 0.7) - html-pipeline (2.3.0) - activesupport (>= 2, < 5) + html-pipeline (2.4.2) + activesupport (>= 2) nokogiri (>= 1.4) i18n (0.7.0) - jekyll (3.0.3) - colorator (~> 0.1) + jekyll (3.2.1) + colorator (~> 1.0) jekyll-sass-converter (~> 1.0) jekyll-watch (~> 1.1) kramdown (~> 1.3) liquid (~> 3.0) mercenary (~> 0.3.3) + pathutil (~> 0.9) rouge (~> 1.7) safe_yaml (~> 1.0) jekyll-coffeescript (1.0.1) coffee-script (~> 2.2) - jekyll-feed (0.4.0) + jekyll-feed (0.5.1) jekyll-gist (1.4.0) octokit (~> 4.2) - jekyll-mentions (1.0.1) + jekyll-github-metadata (2.0.2) + jekyll (~> 3.1) + octokit (~> 4.0) + jekyll-mentions (1.2.0) + activesupport (~> 4.0) html-pipeline (~> 2.3) jekyll (~> 3.0) jekyll-paginate (1.1.0) - jekyll-redirect-from (0.9.1) + jekyll-redirect-from (0.11.0) jekyll (>= 2.0) jekyll-sass-converter (1.3.0) sass (~> 3.2) - jekyll-seo-tag (1.3.1) - jekyll (~> 3.0) + jekyll-seo-tag (2.0.0) + jekyll (~> 3.1) jekyll-sitemap (0.10.0) - jekyll-textile-converter (0.1.0) - RedCloth (~> 4.0) - jekyll-watch (1.3.1) - listen (~> 3.0) - jemoji (0.5.1) + jekyll-watch (1.5.0) + listen (~> 3.0, < 3.1) + jemoji (0.7.0) + activesupport (~> 4.0) gemoji (~> 2.0) html-pipeline (~> 2.2) - jekyll (>= 2.0) + jekyll (>= 3.0) json (1.8.3) - kramdown (1.9.0) + kramdown (1.11.1) liquid (3.0.6) listen (3.0.6) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9.7) - mercenary (0.3.5) - mini_portile2 (2.0.0) - minitest (5.8.4) + mercenary (0.3.6) + mini_portile2 (2.1.0) + minima (1.0.1) + minitest (5.9.0) multipart-post (2.0.0) net-dns (0.8.0) - nokogiri (1.6.7.2) - mini_portile2 (~> 2.0.0.rc2) - octokit (4.2.0) - sawyer (~> 0.6.0, >= 0.5.3) + nokogiri (1.6.8) + mini_portile2 (~> 2.1.0) + pkg-config (~> 1.1.7) + octokit (4.3.0) + sawyer (~> 0.7.0, >= 0.5.3) + pathutil (0.14.0) + forwardable-extended (~> 2.6) + pkg-config (1.1.7) public_suffix (1.5.3) rb-fsevent (0.9.7) rb-inotify (0.9.7) ffi (>= 0.5.0) - rdiscount (2.1.8) - redcarpet (3.3.3) - rouge (1.10.1) + rouge (1.11.1) safe_yaml (1.0.4) - sass (3.4.21) - sawyer (0.6.0) - addressable (~> 2.3.5) + sass (3.4.22) + sawyer (0.7.0) + addressable (>= 2.3.5, < 2.5) faraday (~> 0.8, < 0.10) - terminal-table (1.5.2) + terminal-table (1.7.0) + unicode-display_width (~> 1.1) thread_safe (0.3.5) typhoeus (0.8.0) ethon (>= 0.8.0) tzinfo (1.2.2) thread_safe (~> 0.1) + unicode-display_width (1.1.0) PLATFORMS ruby @@ -128,4 +137,4 @@ DEPENDENCIES jekyll BUNDLED WITH - 1.11.2 + 1.12.5 diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..31b42f8 --- /dev/null +++ b/_config.yml @@ -0,0 +1,104 @@ + +output: web +# this property is useful for conditional filtering of content that is separate from the PDF. + +topnav_title: Jekyll Documentation Theme +# this appears on the top navigation bar next to the home button + +site_title: Jekyll theme for documentation +# this appears in the html browser tab for the site title (seen mostly by search engines, not users) + +company_name: Your company +# this appears in the footer + +github_editme_path: tomjohnson1492/documentation-theme-jekyll/blob/gh-pages/pages/ +# if you're using Github, provide the basepath to the branch you've created for reviews, following the sample here. if not, leave this value blank. + +disqus_shortname: idrbwjekyll +# if you're using disqus for comments, add the shortname here. if not, leave this value blank. + +host: 127.0.0.1 +# the preview server used. Leave as is. + +port: 4005 +# the port where the preview is rendered. You can leave this as is unless you have other Jekyll builds using this same port that might cause conflicts. in that case, use another port such as 4006. + +exclude: + - .idea/ + - .gitignore +# these are the files and directories that jekyll will exclude from the build + +feedback_subject_line: Jekyll documentation theme + +feedback_email: tomjohnson1492@gmail.com +# used as a contact email for the Feedback link in the top navigation bar + +# feedback_disable: true +# if you uncomment the previous line, the Feedback link gets removed + +# feedback_text: "Need help?" +# if you uncomment the previous line, it changes the Feedback text + +# feedback_link: "http://helpy.io/" +# if you uncomment the previous line, it changes where the feedback link points to + +highlighter: rouge +# library used for syntax highlighting + +markdown: kramdown +kramdown: + input: GFM + auto_ids: true + hard_wrap: false + syntax_highlighter: rouge +# filter used to process markdown. note that kramdown differs from github-flavored markdown in some subtle ways + +collections: + tooltips: + output: false +# collections are declared here. this renders the content in _tooltips and processes it, but doesn't output it as actual files in the output unless you change output to true + +defaults: + - + scope: + path: "" + type: "pages" + values: + layout: "page" + comments: true + search: true + sidebar: home_sidebar + - + scope: + path: "" + type: "tooltips" + values: + layout: "page" + comments: true + search: true + tooltip: true + + - + scope: + path: "" + type: "posts" + values: + layout: "post" + comments: true + search: true + sidebar: home_sidebar + +# these are defaults used for the frontmatter for these file types + +sidebars: +- home_sidebar +- mydoc_sidebar +- product1_sidebar +- product2_sidebar +- other + +description: "Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features." +# the description is used in the feed.xml file + +# needed for sitemap.xml file only +url: http://idratherbewriting.com \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index 636c55e..9067ebd 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -9,7 +9,7 @@ layout: default {% assign projectTags = site.data.tags.allowed-tags %} {% for tag in page.tags %} {% if projectTags contains tag %} - {{tag}}{% unless forloop.last %}, {% endunless%} + {{tag}}{% unless forloop.last %}, {% endunless%} {% endif %} {% endfor %} {% endif %} diff --git a/pages/news/news.html b/pages/news/news.html index 67b19e6..9e9d52a 100644 --- a/pages/news/news.html +++ b/pages/news/news.html @@ -6,7 +6,6 @@ permalink: news.html toc: false folder: news --- -
@@ -16,12 +15,12 @@ folder: news

{{ post.title }}

{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}

- - {% endfor %}

RSS Subscribe{{tag}}

diff --git a/tooltips.json b/tooltips.json index 6871b30..3cd218d 100644 --- a/tooltips.json +++ b/tooltips.json @@ -2,16 +2,16 @@ layout: none search: exclude --- + + hello { "entries": [ {% for page in site.tooltips %} -{% if page.product == "mydoc" %} { "id" : "{{ page.id }}", "body": "{{ page.content | strip_newlines | replace: '\', '\\\\' | replace: '"', '\\"' }}" } {% unless forloop.last %},{% endunless %} -{% endif %} {% endfor %} ] }