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,57 +1,56 @@
# the audience for this site. even if you're not single sourcing, you still need to define an audience here.
project: documentation-theme-jekyll-designer
audience: designer
# your project's title. appears in the top nav home button.
title: Jekyll for Designers
product: all
# currently the version is used only in the print cover
version: 2.0
platform: all
version: all
topnav_title: Jekyll for Designers
topnav_version: 2.0
# appears above the sidebar (optional)
tagline: Guide for designers
# You can leave the url empty so that you can upload the files into any domain. You just need to define the baseurl.
url: "http://tomjohnson1492.github.io"
baseurl: "/documentation-theme-jekyll/designer"
# 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"
# 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: 4006
# Add a feedback email for the top navigation bar
host: 127.0.0.1
url: "http://tomjohnson1492.github.io"
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.
print: false
floating_nav: true
# suffix: index.html
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:
@ -81,17 +80,6 @@ defaults:
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
floating_nav: true
# this option allows you to add a suffix to the permalinks in case you're publishing on a host such as Salesforce's site.com.
# on Salesforce's site.com, uploaded files must have index.html to display correctly. Most likely just ignore or remove this section unless
# you're publishing on Salesforce.
# suffix: index.html
output: true