-
Notifications
You must be signed in to change notification settings - Fork 23
/
config.yml
45 lines (34 loc) · 1.05 KB
/
config.yml
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
# hugo server --themesDir ...
baseURL: https://gocn.github.io/styleguide/
title: Google Style Guides
theme: hugo-book
# language setting
defaultContentLanguage: zh
defaultContentLanguageInSubdir: true
PygmentsCodeFences: true
languages:
zh:
languageCode: zh
languageName: 中文
contentDir: content/zh
weight: 1
# en:
# languageCode: en-US
# languageName: English
# contentDir: content/en
# weight: 2
# Book configuration
disablePathToLower: true
params:
Description: How To Code in Go
# show or hide table of contents for page
BookShowToC: true
# Set bundle to render side menu
# if not specified file structure and weights will be used
BookMenuBundle: /menu
# specify section of content to render as menu
# if bookMenuBundle is not set, 'docs' is value by default
BookSection: docs
# Enable "Edit this page" links for 'doc' page type.
# Disabled by default. Uncomment to enable.
BookEditURL: https://github.com/gocn/styleguide/edit/main/content/zh/