Made sidebar configurable based on product, platform, version properties in configuration file. Also added ability to add series that link together pages.

This commit is contained in:
Tom Johnson
2015-05-17 19:01:41 -07:00
parent 4945f23b2d
commit 6d98971517
40 changed files with 808 additions and 519 deletions

View File

@ -1,90 +0,0 @@
# the audience for this site. even if you're not single sourcing, you still need to define an audience here.
audience: designer
# your project's title. appears in the top nav home button.
title: Jekyll for Designers
# currently the version is used only in the print cover
version: 2.0
# appears above the sidebar (optional)
tagline: Guide for designers
# leave the url empty so that you can upload the files into any domain. You just need to define the baseurl.
# url: "http://idratherbewriting.com"
# the subpath of your site. If you're publishing to the root directory, just type "". Usually set this as your project name.
baseurl: "/documentation-theme-jekyll/designer"
# this is how you will preview the site on your local machine. leave as is.
host: 127.0.0.1
# specified here in case you have multiple sites and want to view them simultaneously in different tabs (you'll need different ports)
port: 4007
# Add a feedback email for the top navigation bar
feedback_email: tomjohnson1492@gmail.com
# whether you want the sidebar to use an accordion, so that other sections in the toc collapse when one section expands.
sidebar_accordion: true
# Disqus shortname for commenting features. leave blank if you don't want a comment form.
disqus_shortname: idrbwjekyll
# Insert your google analytics tracking number. leave blank if you don't want google analytics integration.
google_analytics: UA-408430-5
markdown: redcarpet
# options for the redcarpet markdown processing. leave as is, especially the "with_toc_data" or the mini-toc won't appear.
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
# pygments requires you to install a gem on your machine. if you don't want this, use rouge instead.
highlighter: pygments
# put all files or directories that you want to exclude from your project here.
exclude:
- _drafts
- bower_components
- .idea
- _site
# these are defaults that get applied to each page or post's frontmatter. leave as is.
permalink: :title
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "page"
comments: true
search: true
-
scope:
path: ""
type: "posts"
values:
layout: "post"
comments: true
search: true
-
scope:
path: ""
type: "tooltips"
values:
layout: "page"
tooltip: true
search: true
sass:
sass_dir: _sass
# this enables the tooltip collection.
collections:
tooltips:
output: true
# is this a print build? if so, put true. otherwise, false.
print: false

View File

@ -1,77 +0,0 @@
# the audience for this site. even if you're not single sourcing, you still need to define an audience here.
audience: designer
# your project's title. appears in the top nav home button.
title: Jekyll for Designers 2.0
# currently the version is used only in the print cover
version: 2.0
# appears above the sidebar (optional)
tagline: Guide for designers
# the base hostname & protocol for your site (everything at the .com or .org and before)
url: "http://127.0.0.1:4005"
# the subpath of your site. If you're publishing to the root directory, just type "". Usually set this as your project name.
baseurl: "/documentation-theme-jekyll/designer-pdf"
# this is how you will preview the site on your local machine. leave as is.
host: 127.0.0.1
port: 4005 # specified here in case you have multiple sites and want to view them simultaneously (you'll need different ports)
feedback_email: tomjohnson1492@gmail.com
markdown: redcarpet
# options for the redcarpet markdown processing. leave as is, especially the "with_toc_data" or the mini-toc won't appear.
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
highlighter: pygments
# put all files or directories that you want to exclude from your project here.
exclude:
- _drafts
- bower_components
- .idea
- _site
# these are defaults that get applied to each page or post's frontmatter. note that the default layout for pages is page_print instead of page.
permalink: :title
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "page_print"
comments: true
search: true
-
scope:
path: ""
type: "posts"
values:
layout: "post"
comments: true
search: true
-
scope:
path: ""
type: "tooltips"
values:
layout: "page"
tooltip: true
search: true
sass:
sass_dir: _sass
# this enables the tooltip collection.
collections:
tooltips:
output: true
# is this a print build? if so, put true. otherwise, false.
print: true

View File

@ -1,87 +0,0 @@
# the audience for this site. even if you're not single sourcing, you still need to define an audience here.
audience: writer
# your project's title. appears in the top nav home button.
title: Jekyll for Technical Writers 2.0
# currently the version is used only in the print cover
version: 2.0
# appears above the sidebar (optional)
tagline: Guide for technical writers
# the base hostname & protocol for your site (everything at the .com or .org and before)
url: "http://idratherbewriting.com"
# the subpath of your site. If you're publishing to the root directory, just type "". Usually set this as your project name.
baseurl: "/documentation-theme-jekyll/writer"
# this is how you will preview the site on your local machine. leave as is.
host: 127.0.0.1
# specified here in case you have multiple sites and want to view them simultaneously in different tabs (you'll need different ports)
port: 4008
# whether you want the sidebar to use an accordion, such that other sections collapse when one expands.
sidebar_accordion: true
# Disqus shortname for commenting features. leave blank if you don't want a comment form.
disqus_shortname: idrbwjekyll
# Insert your google analytics tracking number. leave blank if you don't want google analytics integration.
google_analytics: UA-408430-5
feedback_email: tomjohnson1492@gmail.com
markdown: redcarpet
# options for the redcarpet markdown processing. leave as is, especially the "with_toc_data" or the mini-toc won't appear.
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
highlighter: pygments
# put all files or directories that you want to exclude from your project here.
exclude:
- _drafts
- bower_components
- .idea
- _site
# this enables the tooltip collection.
collections:
tooltips:
output: true
# these are defaults that get applied to each page or post's frontmatter. leave as is.
permalink: :title
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "page"
comments: true
search: true
-
scope:
path: ""
type: "posts"
values:
layout: "post"
comments: true
search: true
-
scope:
path: ""
type: "tooltips"
values:
layout: "page"
tooltip: true
search: true
sass:
sass_dir: _sass
# is this a print build? if so, put true. otherwise, false.
print: false

View File

@ -1,77 +0,0 @@
# the audience for this site. even if you're not single sourcing, you still need to define an audience here.
audience: writer
# your project's title. appears in the top nav home button.
title: Jekyll for Technical Writers 2.0
# currently the version is used only in the print cover
version: 2.0
# appears above the sidebar (optional)
tagline: Guide for technical writers
# the base hostname & protocol for your site (everything at the .com or .org and before)
url: "http://127.0.0.1:4005"
# the subpath of your site. If you're publishing to the root directory, just type "". Usually set this as your project name.
baseurl: "/documentation-theme-jekyll/writer-pdf"
# this is how you will preview the site on your local machine. leave as is.
host: 127.0.0.1
port: 4005 # specified here in case you have multiple sites and want to view them simultaneously (you'll need different ports)
feedback_email: tomjohnson1492@gmail.com
markdown: redcarpet
# options for the redcarpet markdown processing. leave as is, especially the "with_toc_data" or the mini-toc won't appear.
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
highlighter: pygments
# put all files or directories that you want to exclude from your project here.
exclude:
- _drafts
- bower_components
- .idea
- _site
# these are defaults that get applied to each page or post's frontmatter. note that the default layout for pages is page_print instead of page.
permalink: :title
defaults:
-
scope:
path: ""
type: "pages"
values:
layout: "page_print"
comments: true
search: true
-
scope:
path: ""
type: "posts"
values:
layout: "post"
comments: true
search: true
-
scope:
path: ""
type: "tooltips"
values:
layout: "page"
tooltip: true
search: true
sass:
sass_dir: _sass
# this enables the tooltip collection.
collections:
tooltips:
output: true
# is this a print build? if so, put true. otherwise, false.
print: true