mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
parent
423594e03a
commit
b80853de90
342 changed files with 2118 additions and 2102 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
// This is is just some helpers used to create some JSON used in the Hugo docs.
|
||||
func init() {
|
||||
docsProvider := func() docshelper.DocProvider {
|
||||
var chromaLexers []interface{}
|
||||
var chromaLexers []any
|
||||
|
||||
sort.Sort(lexers.Registry.Lexers)
|
||||
|
||||
|
@ -47,7 +47,7 @@ func init() {
|
|||
|
||||
}
|
||||
|
||||
return docshelper.DocProvider{"chroma": map[string]interface{}{"lexers": chromaLexers}}
|
||||
return docshelper.DocProvider{"chroma": map[string]any{"lexers": chromaLexers}}
|
||||
}
|
||||
|
||||
docshelper.AddDocProviderFunc(docsProvider)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue