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

github.com/google/docsy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Deininger <andreas@deininger.net>2022-10-07 23:35:35 +0300
committerGitHub <noreply@github.com>2022-10-07 23:35:35 +0300
commit31476617e566d053525116f7b58428c2d40fdd0a (patch)
treeedd5b0cd3582b0d93530cb6cf943cb4544e011cd
parent326b0f14b4dc2bcb4342a616ceed557e1326e405 (diff)
User guide, conversion to modules: fixing config.yaml (#1209)
-rw-r--r--userguide/content/en/docs/Updating/Convert-site-to-module.md1
-rw-r--r--userguide/content/en/docs/adding-content/content.md18
-rw-r--r--userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md8
-rw-r--r--userguide/content/en/docs/adding-content/shortcodes/index.md2
4 files changed, 14 insertions, 15 deletions
diff --git a/userguide/content/en/docs/Updating/Convert-site-to-module.md b/userguide/content/en/docs/Updating/Convert-site-to-module.md
index bf2c1ff..eafc353 100644
--- a/userguide/content/en/docs/Updating/Convert-site-to-module.md
+++ b/userguide/content/en/docs/Updating/Convert-site-to-module.md
@@ -140,7 +140,6 @@ module:
imports:
- path: github.com/google/docsy
disable: false
- imports:
- path: github.com/google/docsy/dependencies
disable: false
{{< /tab >}}
diff --git a/userguide/content/en/docs/adding-content/content.md b/userguide/content/en/docs/adding-content/content.md
index 0a07002..14acbbf 100644
--- a/userguide/content/en/docs/adding-content/content.md
+++ b/userguide/content/en/docs/adding-content/content.md
@@ -102,7 +102,7 @@ menu:
weight: 30
cascade:
-- type: "blog"
+ - type: "blog"
---
{{< /tab >}}
{{< tab header="json" lang="json" >}}
@@ -151,12 +151,12 @@ type = "docs"
title: "My Wonderful Site"
cascade:
-- type: "blog"
- toc_root: true
- _target:
+ - type: "blog"
+ toc_root: true
+ _target:
path: "/news/**"
-- type: "docs"
- _target:
+ - type: "docs"
+ _target:
path: "/**"
---
{{< /tab >}}
@@ -431,9 +431,9 @@ linkTitle: "Announcing Docsy"
description: "The Docsy Hugo theme lets project maintainers and contributors focus on content, not on reinventing a website infrastructure from scratch"
author: Riona MacNamara
resources:
-- src: "**.{png,jpg}"
- title: "Image #:counter"
- params:
+ - src: "**.{png,jpg}"
+ title: "Image #:counter"
+ params:
byline: "Photo: Riona MacNamara / CC-BY-CA"
---
{{< /tab >}}
diff --git a/userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md b/userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md
index b60de7f..859ed7e 100644
--- a/userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md
+++ b/userguide/content/en/docs/adding-content/diagrams-and-formulae/index.md
@@ -103,7 +103,7 @@ errorColor = "#CD5C5C"
display = false
[[params.katex.options.delimiters]]
left = "\\["
- right = '\\]'
+ right = "\\]"
display = true
{{< /tab >}}
{{< tab header="config.yaml" lang="yaml" >}}
@@ -135,8 +135,8 @@ params:
- left: \(
right: \)
display: false
- - left: '\['
- right: '\\]'
+ - left: \[
+ right: \]
display: true
{{< /tab >}}
{{< tab header="config.json" lang="json" >}}
@@ -166,7 +166,7 @@ params:
},
{
"left": "\\[",
- "right": "\\\\]",
+ "right": "\\]",
"display": true
}
]
diff --git a/userguide/content/en/docs/adding-content/shortcodes/index.md b/userguide/content/en/docs/adding-content/shortcodes/index.md
index abc0432..6a3b26e 100644
--- a/userguide/content/en/docs/adding-content/shortcodes/index.md
+++ b/userguide/content/en/docs/adding-content/shortcodes/index.md
@@ -409,7 +409,7 @@ The Docsy template provides two shortcodes `tabpane` and `tab` that let you easi
![Flag Tanzania](flags/tz.png)
**Karibu sana!**
{{%/* /tab */%}}
-{{%/* /tabpane */%}}
+{{</* /tabpane */>}}
```
This code translates to the right aligned tabbed pane below, showing a `Welcome!` greeting in English, German or Swahili: