forked from nroduit/nroduit.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
executable file
·155 lines (136 loc) · 4.49 KB
/
Copy pathconfig.toml
File metadata and controls
executable file
·155 lines (136 loc) · 4.49 KB
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
# this is a required setting for this theme to appear on https://themes.gohugo.io/
# change this to a value appropriate for you
baseurl = "https://weasis.org/"
# as the official Hugo documentation recommends, we turn this off for this
# showcase; this allows the published site to be served by both http and https
canonifyURLs = true
# required for official documentation served from subfolder
relativeURLs = false
disableHugoGeneratorInject = true
# the directory where Hugo reads the themes from; this is specific to your
# installation and most certainly needs be deleted or changed
#themesdir = "../.."
# yeah, well, obviously a mandatory setting for your site, if you want to
# use this theme ;-)
theme = "hugo-theme-relearn"
# the main language of this site; also an automatic pirrrate translation is
# available in this showcase
languageCode = "en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir= true
# the site's title of this showcase; you should change this ;-)
title = "Weasis Documentation"
# Robots.txt for web crawlers
enableRobotsTXT = true
[minify]
disableCSS = false
disableHTML = true
disableJS = false
disableJSON = false
disableSVG = false
disableXML = false
minifyOutput = false
[minify.tdewolff]
[minify.tdewolff.css]
keepCSS2 = true
precision = 0
[minify.tdewolff.html]
keepComments = false
keepConditionalComments = true
keepDefaultAttrVals = true
keepDocumentTags = true
keepEndTags = true
keepQuotes = false
keepWhitespace = true
[minify.tdewolff.js]
keepVarNames = false
noNullishOperator = false
precision = 0
version = 0
[minify.tdewolff.json]
keepNumbers = false
precision = 0
[minify.tdewolff.svg]
keepComments = false
precision = 0
[minify.tdewolff.xml]
keepWhitespace = false
# settings specific to this theme's features; choose to your likings and
# consult this documentation for explanation
[params]
editURL = "https://github.com/nroduit/nroduit.github.io/edit/main/content/"
# Author of the site, will be used in meta information
author.name = "Nicolas Roduit"
# Description of the site, will be used in meta information
showVisitedLinks = true
disableBreadcrumb = false
disableTOC = false
disableGeneratorVersion = true
disableNextPrev = false
disableLandingPageButton = true
titleSeparator = "::"
themeVariant = [ "relearn-dark", "relearn-light" ]
themeVariantAuto = [ "relearn-light", "relearn-dark" ]
disableSeoHiddenPages = true
# this is for the stylesheet genertor to allow for interactivity in mermaid
# graphs; you usually will not need it and you should remove this for
# security reasons
mermaidInitialize = "{ \"securityLevel\": \"loose\" }"
jdkVersion = "24"
mavenVersion = "3.8.1"
[caches]
[caches.getjson]
dir = ":cacheDir/:project"
maxAge = "300s"
[outputFormats]
[outputFormats.API]
mediaType= "application/json"
baseName="api"
isPlainText= true
[outputs]
# add JSON to the home page to support lunr search; This is a mandatory setting
# for the search functionality
home = ['html', 'rss', 'print']
section = ['html', 'rss', 'print']
page = ['html', 'rss', 'print']
[markup]
[markup.highlight]
# if `guessSyntax = true`, there will be no unstyled code even if no language
# was given BUT mermaid code fences will not work anymore! So this is a mandatory
# setting for your site
guessSyntax = false
# here in this showcase we use our own modified chroma syntax highlightning style
# which is imported in theme-relearn-light.css / theme-relearn-dark.css;
# if you want to use a predefined style instead:
# - remove the following `noClasses`
# - set the following `style` to a predefined style name
# - remove the `@import` of the self-defined chroma stylesheet from your CSS files
# (here eg.: theme-relearn-light.css / theme-relearn-dark.css)
noClasses = false
# style = "tango"
[markup.goldmark.renderer]
# activated for this showcase to use HTML and JavaScript; decide on your own needs;
# if in doubt, remove this line
unsafe = true
[Languages]
[Languages.en]
title = "Weasis Documentation"
weight = 1
languageName = "English"
[[Languages.en.menu.shortcuts]]
name = "<i class='fa fa-play-circle'></i> Live Demo"
identifier = "ds"
url = "demo"
weight = 10
[[Languages.en.menu.shortcuts]]
name = "<i class='fa fa-question-circle'></i> FAQs"
url = "faq"
weight = 15
[[Languages.en.menu.shortcuts]]
name = "<i class='fa fa-user-circle'></i> Get Involved!"
url = "get-involved"
weight = 20
[Languages.fr]
title = "Documentation"
weight = 2
languageName = "Français"