Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
f298b90b
authored
Dec 07, 2023
by
Carson Yang
Committed by
GitHub
Dec 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: update theme version (#571)
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
parent
e01c38ef
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
5 deletions
+13
-5
docSite/go.mod
+1
-1
docSite/go.sum
+3
-0
docSite/hugo.toml
+5
-0
docSite/layouts/docs/single.html
+2
-2
docSite/layouts/partials/docs/sidebar.html
+1
-1
docSite/layouts/partials/docs/top-header.html
+1
-1
No files found.
docSite/go.mod
View file @
f298b90b
...
...
@@ -4,5 +4,5 @@ go 1.21
require (
github.com/colinwilson/lotusdocs v0.1.0 // indirect
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20
003
// indirect
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20
200
// indirect
)
docSite/go.sum
View file @
f298b90b
...
...
@@ -10,5 +10,8 @@ github.com/colinwilson/lotusdocs v0.1.0 h1:oTC8pAYQp9XDNaUwE4SEY+id3ByNELxIIFrkt
github.com/colinwilson/lotusdocs v0.1.0/go.mod h1:9zu2REJDi+zdPRcR5/bRYSUR7gkNF4NQLvV38SEoCP8=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20003 h1:pt/JGVD5YYRsVVijOHPZI6YKTUvbR4e0hgV9B0S6rbI=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20003/go.mod h1:mvM05r93HiefwoaxQTaYiJxtJAhTebwQtU1Xh/J+Okk=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 h1:SmpwwN3DNzJWbV+IT8gaFu07ENUFpCvKou5BHYUKuVs=
github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200/go.mod h1:kx8MBj9T7SFR8ZClWvKZPmmUxBaltkoXvnWlZZcSnYA=
github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI=
github.com/twbs/bootstrap v5.3.0+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
docSite/hugo.toml
View file @
f298b90b
...
...
@@ -109,6 +109,11 @@ defaultContentLanguage = 'zh-cn'
listDescTrunc
=
100
# Number of characters by which to truncate the list card description
# Link behaviour
intLinkTooltip
=
true
# Enable a tooltip for internal links that displays info about the destination? default false
# extLinkNewTab = false # Open external links in a new Tab? default true
# logoLinkURL = "" # Set a custom URL destination for the top header logo link.
[params.flexsearch]
# Parameters for FlexSearch
# enabled = true
# tokenize = "full"
...
...
docSite/layouts/docs/single.html
View file @
f298b90b
...
...
@@ -11,9 +11,9 @@
{{ end -}}
{{ if .Page.Store.Get "hasMermaid" }}
{{ $mermaid := resources.Get (printf "%s/%s" ($.Scratch.Get "pathName") "js/mermaid.js") }}
{{ $mermaid := resources.Get (printf "%s/%s" ($.Scratch.Get "pathName") "js/mermaid.
min.
js") }}
{{ if hugo.IsProduction }}
{{ $mermaid = $mermaid |
minify |
fingerprint "sha384" }}
{{ $mermaid = $mermaid | fingerprint "sha384" }}
{{ end }}
<script
src=
"{{ $mermaid.RelPermalink }}"
{{
if
hugo
.
IsProduction
}}
integrity=
"{{ $mermaid.Data.Integrity }}"
{{
end
}}
></script>
<script>
...
...
docSite/layouts/partials/docs/sidebar.html
View file @
f298b90b
...
...
@@ -2,7 +2,7 @@
<nav
id=
"sidebar"
class=
"sidebar-wrapper"
>
<div
class=
"sidebar-brand"
>
<!-- change -->
<a
href=
'{{
relLangURL ""
}}'
aria-label=
"HomePage"
alt=
"HomePage"
style=
"text-transform: unset;"
>
<a
href=
'{{
with .Site.Params.docs.logoLinkURL }}{{ . }}{{ else }}{{ relLangURL "" }}{{ end
}}'
aria-label=
"HomePage"
alt=
"HomePage"
style=
"text-transform: unset;"
>
{{ with resources.Get "images/logos/logo.svg" }}
{{ .Content | safeHTML }}
...
...
docSite/layouts/partials/docs/top-header.html
View file @
f298b90b
...
...
@@ -2,7 +2,7 @@
<div
id=
"top-header"
class=
"top-header d-print-none"
>
<div
class=
"header-bar d-flex justify-content-between"
>
<div
class=
"d-flex align-items-center"
>
<a
href=
'{{
relLangURL ""
}}'
class=
"logo-icon me-3"
aria-label=
"HomePage"
alt=
"HomePage"
>
<a
href=
'{{
with .Site.Params.docs.logoLinkURL }}{{ . }}{{ else }}{{ relLangURL "" }}{{ end
}}'
class=
"logo-icon me-3"
aria-label=
"HomePage"
alt=
"HomePage"
>
<div
class=
"small"
>
{{ with resources.Get "images/logos/mark.svg" }}
{{ .Content | safeHTML }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment