Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ module:
imports:
- path: github.com/google/docsy
disable: false
imports:
- path: github.com/google/docsy/dependencies
disable: false
{{< /tab >}}
Expand Down
18 changes: 9 additions & 9 deletions userguide/content/en/docs/adding-content/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ menu:
weight: 30

cascade:
- type: "blog"
- type: "blog"
---
{{< /tab >}}
{{< tab header="json" lang="json" >}}
Expand Down Expand Up @@ -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 >}}
Expand Down Expand Up @@ -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 >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ errorColor = "#CD5C5C"
display = false
[[params.katex.options.delimiters]]
left = "\\["
right = '\\]'
right = "\\]"
display = true
{{< /tab >}}
{{< tab header="config.yaml" lang="yaml" >}}
Expand Down Expand Up @@ -135,8 +135,8 @@ params:
- left: \(
right: \)
display: false
- left: '\['
right: '\\]'
- left: \[
right: \]
display: true
{{< /tab >}}
{{< tab header="config.json" lang="json" >}}
Expand Down Expand Up @@ -166,7 +166,7 @@ params:
},
{
"left": "\\[",
"right": "\\\\]",
"right": "\\]",
"display": true
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down