-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.toml
175 lines (152 loc) · 4.34 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
theme = ["github.com/google/docsy", "github.com/google/docsy/dependencies"]
contentDir = "docs/"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# Necessary for proper static path resolution
# when baseUrl has some path component.
canonifyURLs = true
# Disable, it makes problems with Netlify (missing internal redirect .../path -> .../path/)
# relativeURLs = true
disableKinds = ["taxonomy", "taxonomyTerm"]
# Highlighting config
pygmentsCodeFences = true
pygmentsUseClasses = false
# Use the new Chroma Go highlighter in Hugo.
pygmentsUseClassic = false
#pygmentsOptions = "linenos=table"
# See https://help.farbox.com/pygments.html
pygmentsStyle = "tango"
[frontmatter]
lastmod = ["date", ":fileModTime"]
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
[blackfriday]
plainIDAnchors = true
hrefTargetBlank = true
angledQuotes = false
latexDashes = true
# Image processing configuration.
[imaging]
resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
# 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"
[outputs]
home = [ "HTML", "REDIR" ]
section = [ "HTML" ]
[languages]
[languages.en]
title = "GoodData Docs Theme"
languageName = "English"
# Weight used for sorting.
weight = 1
[menu]
[[menu.main]]
name = "Learn"
url = "https://www.gooddata.com/learn/"
weight = 1
[menu.main.params]
isMobileTitle = true
mobileOnly = true
[[menu.main]]
name = "University"
url = "https://university.gooddata.com/"
weight = 2
[[menu.main]]
name = "Community"
url = "https://community.gooddata.com/"
weight = 3
[[menu.main]]
name = "Documentation"
weight = 4
[menu.main.params]
isHome = true
[[menu.main]]
name = "Support"
url = "https://support.gooddata.com/hc/en-us"
weight = 5
[[menu.main]]
name = "Go to GoodData.com"
url = "https://www.gooddata.com/"
weight = 6
[menu.main.params]
mobileOnly = true
[params]
copyright = "GoodData"
offlineSearch = false
# Enable syntax highlighting and copy buttons on code blocks with Prism
prism_syntax_highlighting = true
[[params.header]]
[[params.header.main]]
name = "Try it now"
type = "button"
url = "https://registration.cloud.gooddata.com/register"
class = "gd-docs-header-nav__secondary"
# User interface configuration
[params.ui]
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = true
# Set to true to disable breadcrumb navigation.
breadcrumb_disable = true
# 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 = true
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
navbar_logo = true
# Set to true to disable the About link in the site footer
footer_about_disable = false
[params.404]
title = "Page not found"
[[params.404.links]]
title = "Analytics platform"
link = "https://www.gooddata.com/platform/"
[[params.404.links]]
title = "Embedded analytics"
link = "https://www.gooddata.com/embedded-analytics/"
[[params.404.links]]
title = "Contact us"
link = "https://www.gooddata.com/contact/"
[[deployment.matchers]]
# Cache static assets for 1 year.
pattern = "^.+\\.(js|css|svg|ttf)$"
cacheControl = "max-age=31536000, no-transform, public"
gzip = true
[[deployment.matchers]]
pattern = "^.+\\.(png|jpg)$"
cacheControl = "max-age=31536000, no-transform, public"
gzip = false
[[deployment.matchers]]
pattern = "^.+\\.(html|xml|json)$"
gzip = true
# Generate Netlify redirects file in Hugo
# Example taken from: https://github.com/gohugoio/hugoDocs/commit/c1ab9894e8292e0a74c43bbca2263b1fb3840f9e
[mediaTypes]
[mediaTypes."text/netlify"]
suffixes = [""]
delimiter = ""
[outputFormats]
[outputFormats.REDIR]
mediatype = "text/netlify"
baseName = "_redirects"
isPlainText = true
notAlternative = true
[security]
[security.funcs]
getenv = ["^HUGO_", "^hugo_"]
[module]
proxy = "direct"
[module.hugoVersion]
extended = true
min = "0.81.0"
[[module.imports]]
path = "github.com/google/docsy"
disable = false
[[module.imports]]
path = "github.com/google/docsy/dependencies"
disable = false