Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian <julian@vantage-design.com>2020-05-11 22:26:37 +0300
committerJulian <julian@vantage-design.com>2020-05-11 22:26:37 +0300
commite71324bba7b85db0a617468fff9112a29f0a72ba (patch)
treef7fe681c30d596f0cad35f78055d47af24295c3d /exampleSite
parenta0e75e18a1ad1d9d4dec66c81169e7d5ef9dfd32 (diff)
Added documentation for config options
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/configuration/_index.md20
-rw-r--r--exampleSite/content/shortcodes/_index.md2
2 files changed, 21 insertions, 1 deletions
diff --git a/exampleSite/content/configuration/_index.md b/exampleSite/content/configuration/_index.md
new file mode 100644
index 0000000..54665a3
--- /dev/null
+++ b/exampleSite/content/configuration/_index.md
@@ -0,0 +1,20 @@
++++
+title = "Configuration"
+description = ""
+weight = 2
++++
+
+{{< lead >}}
+Customize and tweak Ace using a number of configuration options.
+{{< /lead >}}
+
+## Table of contents
+
+By default, a table of contents (ToC) is generated for each page in the right side menu. This can be disabled using:
+
+{{< code >}}
+toc = false
+{{< /code >}}
+
+in the <code>config.toml</code> or the <code>frontmatter</code> (a page's markdown file) for a page-wide or page-specific disabling of the ToC respectively.
+
diff --git a/exampleSite/content/shortcodes/_index.md b/exampleSite/content/shortcodes/_index.md
index 70bdaf6..70ecd37 100644
--- a/exampleSite/content/shortcodes/_index.md
+++ b/exampleSite/content/shortcodes/_index.md
@@ -1,7 +1,7 @@
+++
title = "Shortcodes"
description = ""
-weight = 0
+weight = 3
+++
{{< lead >}}