1
+ # VERSIONS=latest,v1.0 hugo --minify --baseURL="/product/v1.0/" -d public/product/v1.0
2
+
3
+ title : INFINI Agent
4
+ theme : book
5
+
6
+ # Book configuration
7
+ disablePathToLower : true
8
+ enableGitInfo : false
9
+
10
+ # Needed for mermaid/katex shortcodes
11
+ markup :
12
+ goldmark :
13
+ renderer :
14
+ unsafe : true
15
+ tableOfContents :
16
+ startLevel : 1
17
+
18
+ # Multi-lingual mode config
19
+ # There are different options to translate files
20
+ # See https://gohugo.io/content-management/multilingual/#translation-by-filename
21
+ # And https://gohugo.io/content-management/multilingual/#translation-by-content-directory
22
+ defaultContentLanguage : en
23
+ languages :
24
+ en :
25
+ languageName : English
26
+ contentDir : content.en
27
+ weight : 3
28
+ zh :
29
+ languageName : 简体中文
30
+ contentDir : content.zh
31
+ weight : 4
32
+
33
+ menu :
34
+ before : []
35
+ after :
36
+ - name : " Github"
37
+ url : " https://github.com/infinilabs/agent"
38
+ weight : 10
39
+
40
+ params :
41
+ # (Optional, default light) Sets color theme: light, dark or auto.
42
+ # Theme 'auto' switches between dark and light modes based on browser/os preferences
43
+ BookTheme : " auto"
44
+
45
+ # (Optional, default true) Controls table of contents visibility on right side of pages.
46
+ # Start and end levels can be controlled with markup.tableOfContents setting.
47
+ # You can also specify this parameter per page in front matter.
48
+ BookToC : true
49
+
50
+ # (Optional, default none) Set the path to a logo for the book. If the logo is
51
+ # /static/logo.png then the path would be logo.png
52
+ BookLogo : img/logo
53
+
54
+ # (Optional, default none) Set leaf bundle to render as side menu
55
+ # When not specified file structure and weights will be used
56
+ # BookMenuBundle: /menu
57
+
58
+ # (Optional, default docs) Specify root page to render child pages as menu.
59
+ # Page is resoled by .GetPage function: https://gohugo.io/functions/getpage/
60
+ # For backward compatibility you can set '*' to render all sections to menu. Acts same as '/'
61
+ BookSection : docs
62
+
63
+ # Set source repository location.
64
+ # Used for 'Last Modified' and 'Edit this page' links.
65
+ BookRepo : https://github.com/infinilabs/agent
66
+
67
+ # Enable "Edit this page" links for 'doc' page type.
68
+ # Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
69
+ # Edit path must point to root directory of repo.
70
+ BookEditPath : edit/BRANCH/docs
71
+
72
+ # Configure the date format used on the pages
73
+ # - In git information
74
+ # - In blog posts
75
+ BookDateFormat : " January 2, 2006"
76
+
77
+ # (Optional, default true) Enables search function with flexsearch,
78
+ # Index is built on fly, therefore it might slowdown your website.
79
+ # Configuration for indexing can be adjusted in i18n folder per language.
80
+ BookSearch : false
81
+
82
+ # (Optional, default true) Enables comments template on pages
83
+ # By default partals/docs/comments.html includes Disqus template
84
+ # See https://gohugo.io/content-management/comments/#configure-disqus
85
+ # Can be overwritten by same param in page frontmatter
86
+ BookComments : false
87
+
88
+ # /!\ This is an experimental feature, might be removed or changed at any time
89
+ # (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
90
+ # Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
91
+ # Theme will print warning if page referenced in markdown does not exists.
92
+ BookPortableLinks : true
93
+
94
+ # /!\ This is an experimental feature, might be removed or changed at any time
95
+ # (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use.
96
+ BookServiceWorker : false
0 commit comments