-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
103 lines (84 loc) · 2.89 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
baseURL = 'https://CGRG-lab.github.io/doc-archive/'
languageCode = 'en-us'
title = 'doc-archive'
theme = "docsy"
# Will give values to .Lastmod etc. This must be put at the very beginning
enableGitInfo = true
# Language settings
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true
[languages]
[languages.en]
description = "Docsy does docs"
languageName ="English"
# Weight used for sorting.
weight = 1
[languages.zh]
description = "Docsy does docs"
languageName ="正體中文"
contentDir = "content/zh"
# Top-level menu
[[menu.main]]
name = "CGRG website"
weight = 50
url = "https://cgrg.synology.me/CGRG/"
pre = "<i class='fas fa-external-link-alt'></i>"
[[menu.main]]
name = "GitHub"
weight = 60
url = "https://github.com/CGRG-lab/doc-archive/"
pre = "<i class='fab fa-github'></i>"
[params]
copyright = "CGRG"
github_repo = "https://github.com/CGRG-lab/doc-archive"
# User interface configuration
[params.ui]
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = false
sidebar_menu_foldable = true
sidebar_cache_limit = 10
# Set to true to disable breadcrumb navigation.
breadcrumb_disable = false
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = false
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
navbar_logo = false
[params.katex] # supporting latex math
enable = true
html_dom_element = "document.body"
# enable display of chemical equations and physical units via mhchem extension
[params.katex.mhchem]
enable = true
[[params.katex.options.delimiters]]
left = "$"
right = "$"
display = false
[[params.katex.options.delimiters]]
left = "$$"
right = "$$"
display = true # whether to show in display mode
[params.print]
disable_toc = false
[params.markmap]
enable = true
# [params.taxonomy]
# taxonomyCloud = ["tags", "categories"] # set taxonomyCloud = [] to hide taxonomy clouds
# taxonomyCloudTitle = ["Tag Cloud", "Cloud of Categories"] # if used, must have same lang as taxonomyCloud
# taxonomyPageHeader = ["tags", "categories"] # set taxonomyPageHeader = [] to hide taxonomies on the page headers
[taxonomies]
tag = "tags"
category = "categories"
[markup]
[markup.goldmark]
# This allows html code in markdown be directly rendered
# (conventionally you should use [shortcodes](https://gohugo.io/content-management/shortcodes/))
[markup.goldmark.renderer]
unsafe = true
[markup.highlight] # This changes the background color of the code block
# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
style = "tango"
# Uncomment if you want your chosen highlight style used for code blocks without a specified language
# guessSyntax = "true"