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:45:13 +0300
committerJulian <julian@vantage-design.com>2020-05-11 22:45:13 +0300
commitfef8d9978c2418740faab19e7a34951068ac4838 (patch)
treef0b853e82384517d010260ea7b9cb921fbfd2823 /exampleSite
parente71324bba7b85db0a617468fff9112a29f0a72ba (diff)
Allow disabling read more nav and extended config docs
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/configuration/_index.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/exampleSite/content/configuration/_index.md b/exampleSite/content/configuration/_index.md
index 54665a3..dd05a47 100644
--- a/exampleSite/content/configuration/_index.md
+++ b/exampleSite/content/configuration/_index.md
@@ -8,6 +8,12 @@ weight = 2
Customize and tweak Ace using a number of configuration options.
{{< /lead >}}
+
+## Page ordering
+
+By default, pages are sorted on the weight assigned to them in their <code>frontmatter</code>. This is set in <code>config.toml</code>, using <code>orderSectionsby = "weight"</code>. Change this to <code>"title"</code> to sort pages alphabetically based on their title instead. Alternatively, do not assign a weight to any pages and it will also sort them alphabetically on their title.
+
+
## 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:
@@ -18,3 +24,20 @@ toc = false
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.
+## Google Analytics
+
+Enable Google Analytics by adding your GA tracking ID to the <code>config.toml</code> file, at:
+{{< code >}}
+googleAnalytics = "XX-XXXXXXXXX-X"
+{{< /code >}}
+Where <code>XX-XXXXXXXXX-X</code> is your tracking ID.
+
+
+## Read more navigation
+
+In <code>config.toml</code> or a page's <code>frontmatter</code>, set <code>disableReadmoreNav = true</code> to disable the prev/next buttons at the buttom of every page.
+
+
+## Search
+
+Disable search by setting <code>disableSearch = true</code> in <code>config.toml</code>. \ No newline at end of file