Skip to content

Commit

Permalink
Bump to mermaid 10.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Nov 9, 2023
1 parent 911c04d commit 8bcfeeb
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 5 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/scripts/mermaid.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $version := cond ( ge hugo.Version "0.90.0" ) "latest" "10.2.3" -}}
{{ $version := cond ( ge hugo.Version "0.90.0" ) "latest" "10.6.1" -}}
{{ with .Site.Params.mermaid.version -}}
{{ $version = . -}}
{{ end -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,18 +396,18 @@ By default, docsy pulls in the latest officially released version of Mermaid at
{{< tab header="Hugo version >= 0.90 only:" disabled=true />}}
{{< tab header="hugo.toml" lang="toml" >}}
[params.mermaid]
version = "10.2.3"
version = "10.6.1"
{{< /tab >}}
{{< tab header="hugo.yaml" lang="yaml" >}}
params:
mermaid:
version: 10.2.3
version: 10.6.1
{{< /tab >}}
{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"mermaid": {
"version": "10.2.3"
"version": "10.6.1"
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion userguide/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ params:
disable_toc: false
markmap:
enable: true
version: 10.2.3
mermaid:
version: 10.6.1
drawio:
enable: true

Expand Down
141 changes: 141 additions & 0 deletions userguide/hugo.yaml.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
baseURL: /
title: &title Docsy
description: &desc Docsy does docs
enableRobotsTXT: true
theme: [docsy]
enableGitInfo: true

pygmentsCodeFences: true
pygmentsUseClasses: false
pygmentsUseClassic: false
pygmentsStyle: tango

outputs:
home: [HTML]
page: [HTML]
section: [HTML, RSS, print]

imaging:
resampleFilter: CatmullRom
quality: 75
anchor: smart

menu:
main:
- name: Example Site
weight: 40
url: https://example.docsy.dev
post: <sup><i class="ps-1 fa-solid fa-up-right-from-square fa-xs"
aria-hidden="true"></i></sup>

services:
googleAnalytics:
id: UA-00000000-0

languages:
en:
languageName: English
params:
title: *title
description: *desc

markup:
goldmark:
parser:
attribute:
block: true
renderer:
unsafe: true
highlight:
style: tango

params:
copyright: The Docsy Authors
privacy_policy: https://policies.google.com/privacy
version_menu: Releases
archived_version: false
version: 0.7.2
url_latest_version: https://example.com
github_repo: https://github.com/google/docsy
github_project_repo: https://github.com/google/docsy
github_subdir: userguide
time_format_blog: Monday, January 02, 2006
time_format_default: January 2, 2006
rss_sections: [blog] # TODO: drop since this is the default
gcs_engine_id: 011217106833237091527:la2vtv2emlw
offlineSearch: false
offlineSearchSummaryLength: 70
offlineSearchMaxResults: 10
prism_syntax_highlighting: false
search:
# algolia:
ui:
sidebar_cache_limit: 10
sidebar_menu_compact: true
sidebar_menu_foldable: false
sidebar_search_disable: false
feedback:
enable: true
'yes': >-
Glad to hear it! Please <a
href="https://github.com/google/docsy/issues/new">tell us how we can
improve</a>.
'no': >-
Sorry to hear that. Please <a
href="https://github.com/google/docsy/issues/new">tell us how we can
improve</a>.
readingtime:
enable: false
links:
user:
- name: GitHub Discussions
url: https://github.com/google/docsy/discussions
icon: fa-brands fa-github
desc: Discussion and help from your fellow users
- name: User mailing list
url: https://groups.google.com/forum/#!forum/docsy-users
icon: fa-solid fa-envelope
desc: Sign up for Docsy announcements
- name: Twitter
url: https://twitter.com/docsydocs
icon: fa-brands fa-twitter
desc: Follow us on Twitter to get the latest news!
- name: Stack Overflow
url: https://stackoverflow.com/questions/tagged/docsy
icon: fa-brands fa-stack-overflow
desc: Practical questions and curated answers
developer:
- name: GitHub
url: https://github.com/google/docsy
icon: fa-brands fa-github
desc: Development takes place here!

plantuml:
enable: true
theme: default
svg_image_url: https://www.plantuml.com/plantuml/svg/
svg: false
print:
disable_toc: false
markmap:
enable: true
<<<<<<< HEAD
version: 10.0.2
=======
mermaid:
version: 10.2.3
theme: default
flowchart:
diagramPadding: 20
>>>>>>> 633427a (Bump to mermaid 10.2.3)
drawio:
enable: true

taxonomies:
tag: tags
category: categories

module:
mounts:
- source: content/en
target: content

0 comments on commit 8bcfeeb

Please sign in to comment.