From: Sarah White Date: Fri, 16 Feb 2018 22:05:55 +0000 (-0700) Subject: add sidebar section to style guide X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6cb46575d0db53df410c687191e7321f5992b2fa;p=eg-antora.git add sidebar section to style guide --- diff --git a/docs/modules/ROOT/pages/style-guide.adoc b/docs/modules/ROOT/pages/style-guide.adoc index e1a48e4..d53af75 100644 --- a/docs/modules/ROOT/pages/style-guide.adoc +++ b/docs/modules/ROOT/pages/style-guide.adoc @@ -195,3 +195,29 @@ menu:File[] menu:File[Save] The default styling applied to a menu reference is usually sufficient. + +=== Sidebars + +Sidebars can contain any type of content. +The sidebar title is specified by the block class title. +Here's an AsciiDoc source example that produces a sidebar with a title: + +[source,asciidoc] +---- +.Optional Title +**** +This is a paragraph in a sidebar. +**** +---- + +[source,html] +---- +
+
+
Optional Title
+
+

This is a paragraph in a sidebar.

+
+
+
+----