Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User guide, conversion to modules: fixing config.yaml #1209

Merged
merged 1 commit into from
Oct 7, 2022
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