Repository navigation
Expand file tree
/
Copy pathhugo.yaml
More file actions
82 lines (69 loc) · 1.76 KB
/
Copy pathhugo.yaml
File metadata and controls
82 lines (69 loc) · 1.76 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
# Hugo configuration file
title: Wire
baseURL: https://wireinject.github.io/
# Build output goes to the default public/, which .github/workflows/hugo.yaml
# uploads as a GitHub Pages artifact. Keep this in sync with that workflow.
enableRobotsTXT: true
enableGitInfo: true
defaultContentLanguage: en
languages:
en:
label: English
weight: 1
# `locale` replaced `languageCode`, deprecated in Hugo 0.158.
locale: en-US
module:
imports:
- path: github.com/imfing/hextra
markup:
# allow raw html
goldmark:
renderer:
unsafe: true
# enable hextra syntax highlight
highlight:
noClasses: false
menu:
main:
- name: Docs
pageRef: /docs
weight: 1
- name: Search
weight: 2
params:
type: search
- name: GitHub
weight: 3
url: "https://github.com/wireinject/wire"
params:
icon: github
params:
description: Wire is a code generation tool that automates connecting components using dependency injection in Go.
navbar:
displayTitle: true
displayLogo: true
logo:
path: images/logo.svg
dark: images/logo-dark.svg
width: 28
height: 28
theme:
# Follow the system preference by default; readers can switch in the navbar.
default: system
footer:
displayCopyright: true
displayPoweredBy: false
editURL:
enable: false
# Open links outside the site root in a new tab unless stated otherwise.
externalLinkDecoration: true
# Self-hosted mermaid: no CDN dependency, builds work offline.
# The CLI page uses it to render `wire graph` output.
mermaid:
js: js/mermaid.min.js
search:
enable: true
type: flexsearch
flexsearch:
# Self-hosted too, so builds never hit a CDN.
js: js/flexsearch.bundle.min.js