-
Notifications
You must be signed in to change notification settings - Fork 975
Expand file tree
/
Copy pathhugo.yaml
More file actions
78 lines (74 loc) · 2.29 KB
/
hugo.yaml
File metadata and controls
78 lines (74 loc) · 2.29 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
# Docsy config
#
# cSpell:ignore docsy fortawesome fontawesome github permalinkable twbs webfonts
params:
time_format_blog: Monday, January 02, 2006
time_format_default: January 2, 2006
rss_sections: [blog]
outputFormats:
LLMS:
baseName: llms
isPlainText: true
mediaType: text/plain
notAlternative: true
print:
baseName: index
# FIXME: leave isHTML unset (i.e. false) until we get a Hugo fix for
# https://github.com/gohugoio/hugo/issues/14381
# isHTML: true
mediaType: text/html
path: _print
permalinkable: false
# Needed fo KaTeX, possibly useful for others. see
# https://github.com/google/docsy/pull/2465
mediaTypes:
font/woff:
suffixes: [woff]
font/woff2:
suffixes: [woff2]
module:
hugoVersion:
extended: true
min: 0.146.0
mounts:
- source: assets
target: assets
- source: node_modules/bootstrap
target: assets/vendor/bootstrap
- source: node_modules/@fortawesome/fontawesome-free
target: assets/vendor/Font-Awesome
- source: i18n
target: i18n
- source: layouts
target: layouts
- source: static
target: static
- source: node_modules/@fortawesome/fontawesome-free/webfonts
target: static/webfonts
# Mounts for projects using Docsy as an NPM package. The source path prefix
# "../.." moves out of themes/docsy so that Docsy can find its dependencies.
- source: ../../node_modules/bootstrap
target: assets/vendor/bootstrap
- source: ../../node_modules/@fortawesome/fontawesome-free
target: assets/vendor/Font-Awesome
- source: ../../node_modules/@fortawesome/fontawesome-free/webfonts
target: static/webfonts
# Mounts for module installations,
# needed to work around a known bug in Go’s module management.
- source: assets/_vendor/bootstrap/scss
target: assets/vendor/bootstrap/scss/vendor
imports:
- path: github.com/twbs/bootstrap
disable: false
mounts:
- source: scss
target: assets/vendor/bootstrap/scss
- source: dist/js
target: assets/vendor/bootstrap/dist/js
- path: github.com/FortAwesome/Font-Awesome
disable: false
mounts:
- source: scss
target: assets/vendor/Font-Awesome/scss
- source: webfonts
target: static/webfonts