version 3.0 of the theme -- complete overhaul

This commit is contained in:
Tom Johnson
2015-08-11 16:48:17 -07:00
parent 95fa839f0c
commit 6cab011d1b
181 changed files with 4747 additions and 10289 deletions

29
doc_special_layouts.md Normal file
View File

@ -0,0 +1,29 @@
---
title: Special layouts
tags: special-layouts
keywords:
audience: writer, designer
last_updated:
summary:
---
{% include linkrefs.html %}
This theme has a few special layouts. Special layouts include the JS files they need directly in the page. The JavaScript for each special layout does not load by default for every page in the site.
## FAQ layout
See {{doc_faq}} for an example of the FAQ format, which follows an accordion, collapse/expand format. This code is from Bootstrap.
## Knowledgebase layout
See {{doc_kb_layout}} for a possible layout for knowledge base articles. This layout looks for pages containing specific tags.
## Scroll layout
If you have a long JSON message you're documenting, see the {{doc_scroll}}. This layout adds a side pane showing links to pointers in the left pane.
## Shuffle layout
If you want a dynamic card layout that allows you to filter the cards, see {{doc_shuffle}}. This uses the Shuffle JS library.