Skip to content

Commit 5f0124e

Browse files
committed
Modify hugo.toml
Signed-off-by: Pedro Ielpi <[email protected]>
2 parents 13115b8 + 0246de4 commit 5f0124e

File tree

2 files changed

+195
-1
lines changed

2 files changed

+195
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
public/
2-
hugo.toml

hugo.toml

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
title = "OpenNebula"
2+
3+
baseURL = "https://opennebula.github.io/website/"
4+
5+
capitalizeListTitles = "false"
6+
titleCaseStyle = "none"
7+
8+
# Configure how URLs look like per section.
9+
[permalinks]
10+
blog = "/:section/:year/:month/:day/:slug/"
11+
12+
13+
# You can add your own taxonomies
14+
[taxonomies]
15+
tag = "tags"
16+
category = "categories"
17+
18+
[params.taxonomy]
19+
# set taxonomyCloud = [] to hide taxonomy clouds
20+
taxonomyCloud = ["tags", "categories"]
21+
22+
# If used, must have same length as taxonomyCloud
23+
taxonomyCloudTitle = ["Tag Cloud", "Categories"]
24+
25+
# set taxonomyPageHeader = [] to hide taxonomies on the page headers
26+
taxonomyPageHeader = ["tags", "categories"]
27+
28+
29+
# Uncomment this if your GitHub repo does not have "main" as the default branch,
30+
# or specify a new value if you want to reference another branch in your GitHub links
31+
github_branch= "PoC"
32+
33+
# Google Custom Search Engine ID. Remove or comment out to disable search.
34+
gcs_engine_id = "533000100d06b46c0"
35+
36+
[params.ui]
37+
# Set to true to disable breadcrumb navigation.
38+
breadcrumb_disable = false
39+
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top navbar
40+
navbar_logo = true
41+
# Set to true if you don't want the top navbar to be translucent when over a `block/cover`, like o>
42+
navbar_translucent_over_cover_disable = false
43+
# Enable to show the side bar menu in its compact state.
44+
sidebar_menu_compact = false
45+
sidebar_menu_foldable = true
46+
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if se>
47+
sidebar_search_disable = false
48+
showLightDarkModeMenu = true
49+
50+
# Enable Lunr.js offline search
51+
offlineSearch = false
52+
53+
# Adds a reading time to the top of each doc.
54+
# If you want this feature, but occasionally need to remove the Reading time from a single page,
55+
# add "hide_readingtime: true" to the page's front matter
56+
[params.ui.readingtime]
57+
enable = false
58+
59+
[params.links]
60+
# End user relevant links. These will show up on left side of footer and in the community page if >
61+
[[params.links.user]]
62+
name = "User mailing list"
63+
url = "https://example.org/mail"
64+
icon = "fa fa-envelope"
65+
desc = "Discussion and help from your fellow users"
66+
[[params.links.user]]
67+
name ="Twitter"
68+
url = "https://example.org/twitter"
69+
icon = "fab fa-twitter"
70+
desc = "Follow us on Twitter to get the latest news!"
71+
[[params.links.user]]
72+
name = "Stack Overflow"
73+
url = "https://example.org/stack"
74+
icon = "fab fa-stack-overflow"
75+
desc = "Practical questions and curated answers"
76+
# Developer relevant links. These will show up on right side of footer and in the community page i>
77+
[[params.links.developer]]
78+
name = "GitHub"
79+
url = "https://github.com/OpenNebula"
80+
icon = "fab fa-github"
81+
desc = "Development takes place here!"
82+
[[params.links.developer]]
83+
name = "Slack"
84+
url = "https://example.org/slack"
85+
icon = "fab fa-slack"
86+
desc = "Chat with other project developers"
87+
[[params.links.developer]]
88+
name = "Developer mailing list"
89+
url = "https://example.org/mail"
90+
icon = "fa fa-envelope"
91+
desc = "Discuss development issues around the project"
92+
93+
94+
[menu]
95+
[[menu.main]]
96+
name = "OpenNebula"
97+
url = "/"
98+
weight = 1
99+
[[menu.main]]
100+
name = "Install"
101+
url = "/install/"
102+
weight = 2
103+
[[menu.main]]
104+
name = "Docs"
105+
url = "/docs/"
106+
weight = 3
107+
[[menu.main]]
108+
name = "Integrate"
109+
url = "/integrate/"
110+
weight = 4
111+
[[menu.main]]
112+
name = "Contribute"
113+
url = "/contribute/"
114+
weight = 5
115+
[[menu.main]]
116+
name = "Ecosystem "
117+
url = "/ecosystem/"
118+
post = "<i class='fa-solid fa-arrow-up-right-from-square'></i>"
119+
weight = 6
120+
[[menu.main]]
121+
name = "Support "
122+
url = "/support/"
123+
post = "<i class='fa-solid fa-arrow-up-right-from-square'></i>"
124+
weight = 7
125+
[[menu.main]]
126+
name = "GitHub "
127+
url = "/github/"
128+
post = "<i class='fa-solid fa-arrow-up-right-from-square'></i>"
129+
weight = 8
130+
131+
132+
[params]
133+
# Add your release versions here
134+
version_menu = "Versions"
135+
[[params.versions]]
136+
version = "v7.0"
137+
url = "https://opennebula.github.io/website/docs/"
138+
139+
[[params.versions]]
140+
version = "v6.10"
141+
url = "https://docs.opennebula.io/6.10/"
142+
143+
[[params.versions]]
144+
version = "v6.8"
145+
url = "https://docs.opennebula.io/6.8/"
146+
147+
[[params.versions]]
148+
version = "v5.10"
149+
url = "https://docs.opennebula.io/5.10/"
150+
151+
152+
153+
[module]
154+
proxy = "direct"
155+
# uncomment line below for temporary local development of module
156+
# replacements = "github.com/google/docsy -> ../../docsy"
157+
[module.hugoVersion]
158+
extended = true
159+
min = "0.73.0"
160+
[[module.imports]]
161+
path = "github.com/google/docsy"
162+
disable = false
163+
# agregado:
164+
[[module.imports]]
165+
path = "github.com/hugomods/swagger-ui"
166+
disable = false
167+
[[module.mounts]]
168+
source = 'assets'
169+
target = 'assets'
170+
[[module.mounts]]
171+
source = 'static'
172+
target = 'assets'
173+
174+
# added the user feedback module
175+
[params.ui.feedback]
176+
enable = true
177+
yes = 'Glad to hear it'
178+
no = 'Sorry to hear that'
179+
180+
# relativeURLs = true
181+
#canonifyURLs = true
182+
183+
[markup]
184+
defaultMarkdownHandler = 'goldmark'
185+
[markup.goldmark]
186+
[markup.goldmark.renderer]
187+
unsafe = true
188+
[markup.goldmark.extensions.extras]
189+
enable = true
190+
[markup.goldmark.parser]
191+
autoHeadingID = true
192+
parser.autoHeadingIDType = "github"
193+
[markup.goldmark.parser.attribute]
194+
block = true
195+
title = true

0 commit comments

Comments
 (0)