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:
@@ -7,241 +7,411 @@ entries:
|
||||
subcategories:
|
||||
- title: Overview
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
items:
|
||||
- title: Cover
|
||||
url: /titlepage/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
web: false
|
||||
|
||||
- title: Introduction
|
||||
url: /
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Getting started
|
||||
url: /getting_started/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Setting up the configuration files
|
||||
url: /config_setup/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Supported features
|
||||
url: /supported_features/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Troubleshooting
|
||||
url: /troubleshooting/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Content types
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
items:
|
||||
- title: Pages and posts
|
||||
url: /pages/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Collections
|
||||
url: /collections/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Formatting
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
items:
|
||||
|
||||
|
||||
- title: Alerts
|
||||
url: /alerts/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Images
|
||||
url: /images/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Links
|
||||
url: /links/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Syntax highlighting
|
||||
url: /syntax_highlighting/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Videos
|
||||
url: /videos/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Labels
|
||||
url: /labels/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Icons
|
||||
url: /icons/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Tables
|
||||
url: /tables/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Tooltips
|
||||
url: /adding_tooltips/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Navtabs
|
||||
url: /navtabs/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Shortcuts for Jekyll syntax
|
||||
url: /shortcuts_for_jekyll_syntax/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Single Sourcing
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
items:
|
||||
- title: Conditional logic
|
||||
url: /conditional_logic/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Content re-use
|
||||
url: /content_reuse/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Excluding files
|
||||
url: /excluding_files/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Publishing
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
items:
|
||||
- title: Build arguments
|
||||
url: /build_arguments/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Create a PDF
|
||||
url: /create_pdf/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Creating a help API
|
||||
url: /help_api/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Setting up iTerm profiles
|
||||
url: /iterm_profiles/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Common Git commands
|
||||
url: /git_commands/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Navigation
|
||||
audience: writer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
items:
|
||||
- title: Configuring sidebar and top navigation
|
||||
url: /navigation/
|
||||
audience: designer, writer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Tags
|
||||
url: /tags/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Special Layouts
|
||||
audience: designer
|
||||
audience: designer, writer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
print: false
|
||||
items:
|
||||
- title: Special layouts
|
||||
url: /special_layouts/
|
||||
audience: designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Creating a series
|
||||
url: /series/
|
||||
audience: designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: all
|
||||
|
||||
- title: FAQ layout
|
||||
url: /faq/
|
||||
audience: designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: KB layout
|
||||
url: /kb_layout/
|
||||
audience: designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Scroll
|
||||
url: /scroll/
|
||||
audience: designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Shuffle
|
||||
url: /shuffle/
|
||||
audience: designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: true
|
||||
|
||||
- title: Tag archives
|
||||
audience: designer, w riter
|
||||
audience: designer, writer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
items:
|
||||
- title: Overview
|
||||
audience: writer, designer
|
||||
url: /tag-archives-overview/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
thirdlevel: #demo's how to add a third level to the sidebar nav.
|
||||
- title: Third level title
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
thirdlevelitems:
|
||||
- title: Overview pages
|
||||
url: /tag-overview/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
- title: Getting Started pages
|
||||
url: /tag-getting-started/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
- title: Single Sourcing pages
|
||||
url: /tag-single-sourcing/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
- title: Publishing pages
|
||||
url: /tag-publishing/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
- title: Formatting pages
|
||||
url: /tag-formatting/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
- title: Special layout pages
|
||||
url: /tag-special-layouts/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
print: false
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ allowed-tags:
|
||||
- publishing
|
||||
- single-sourcing
|
||||
- special-layouts
|
||||
- content types
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -7,14 +7,23 @@ topnav:
|
||||
- title: About
|
||||
url: /about/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
|
||||
- title: Github repo
|
||||
external_url: https://github.com/tomjohnson1492/documentation-theme-jekyll
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
|
||||
- title: My blog
|
||||
external_url: http://idratherbewriting.com
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
|
||||
#Topnav dropdowns
|
||||
topnav_dropdowns:
|
||||
@@ -22,16 +31,28 @@ topnav_dropdowns:
|
||||
subcategories:
|
||||
- title: Jekyll resources
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
|
||||
items:
|
||||
- title: Jekyll documentation
|
||||
external_url: http://jekyllrb.com/docs/home/
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
|
||||
- title: Jekyll Talk
|
||||
external_url: https://talk.jekyllrb.com/
|
||||
audience: designer, writer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
|
||||
- title: Jekyll on Stackoverflow
|
||||
external_url: http://stackoverflow.com/questions/tagged/jekyll
|
||||
audience: writer, designer
|
||||
platform: all
|
||||
product: all
|
||||
version: all
|
||||
|
||||
Reference in New Issue
Block a user