From 31476617e566d053525116f7b58428c2d40fdd0a Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Fri, 7 Oct 2022 22:35:35 +0200 Subject: [PATCH] User guide, conversion to modules: fixing config.yaml (#1209) --- .../en/docs/Updating/Convert-site-to-module.md | 1 - .../content/en/docs/adding-content/content.md | 18 +++++++++--------- .../diagrams-and-formulae/index.md | 8 ++++---- .../en/docs/adding-content/shortcodes/index.md | 2 +- 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 bf2c1ff1ef..eafc353ba5 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 0a07002aa0..14acbbf16f 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 b60de7f771..859ed7e9a0 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 abc0432f72..6a3b26e447 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 */%}} +{{}} ``` This code translates to the right aligned tabbed pane below, showing a `Welcome!` greeting in English, German or Swahili: