Added instructions for creating navtabs. Added documentation for configuration file options. Made a few style tweaks. Moved mini-TOC to float on the right. Redid the styling for the mini-TOC bar.

This commit is contained in:
Tom Johnson
2015-05-12 21:21:29 -07:00
parent aaeeeebd85
commit d7b96aa0d2
24 changed files with 412 additions and 1429 deletions

93
_config.yml Normal file
View File

@ -0,0 +1,93 @@
# 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: 4006
# 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
# if you want to show a label on each page indicating the audience that can see the content, put true here.
show_audience_label: true
# is this a print build? if so, put true. otherwise, false.
print: false