eclipsefdn-hugo-solstice-theme 0.0.172 → 0.0.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Jenkinsfile +13 -0
- package/README.md +1 -1
- package/bin/build.sh +17 -0
- package/exampleSite/config/_default/config.toml +1 -0
- package/exampleSite/config/_default/menus.en.toml +9 -9
- package/exampleSite/config/_default/menus.es.toml +9 -9
- package/exampleSite/config/_default/menus.fr.toml +9 -9
- package/exampleSite/config/_default/menus.jp.toml +9 -9
- package/exampleSite/config/_default/menus.pt.toml +9 -9
- package/exampleSite/config/_default/menus.ru.toml +9 -9
- package/exampleSite/config/_default/menus.zh.toml +9 -9
- package/layouts/partials/sidebar-block.html +4 -4
- package/layouts/partials/sidebar.html +5 -5
- package/layouts/partials/toolbar.html +3 -3
- package/package.json +3 -4
- package/netlify.toml +0 -18
package/Jenkinsfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@Library('releng-pipeline') _
|
|
2
|
+
|
|
3
|
+
hugo (
|
|
4
|
+
appName: 'webdev.eclipse.org-docs-hugo',
|
|
5
|
+
productionDomain: 'webdev.eclipse.org',
|
|
6
|
+
build: [
|
|
7
|
+
containerImage: 'eclipsefdn/hugo-node:h0.76.5-n12.22.1',
|
|
8
|
+
script: 'bin/build.sh'
|
|
9
|
+
],
|
|
10
|
+
deployment: [
|
|
11
|
+
locationPath: '/docs/hugo'
|
|
12
|
+
]
|
|
13
|
+
)
|
package/README.md
CHANGED
package/bin/build.sh
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# ===========================================================================
|
|
3
|
+
# Copyright (c) 2021 Eclipse Foundation and others.
|
|
4
|
+
# All rights reserved. This program and the accompanying materials
|
|
5
|
+
# are made available under the terms of the Eclipse Public License v1.0
|
|
6
|
+
# which accompanies this distribution, and is available at
|
|
7
|
+
# http://www.eclipse.org/legal/epl-v10.html
|
|
8
|
+
#
|
|
9
|
+
# Contributors:
|
|
10
|
+
# Christopher Guindon (Eclipse Foundation)
|
|
11
|
+
# ==========================================================================
|
|
12
|
+
|
|
13
|
+
set -euo pipefail
|
|
14
|
+
|
|
15
|
+
yarn install --frozen-lockfile;
|
|
16
|
+
yarn run build
|
|
17
|
+
hugo --source exampleSite --theme "${PWD##*/}" --themesDir ../../ --gc --minify --destination ."${1}" --baseURL "${2}"
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
|
|
258
258
|
[[sidebar]]
|
|
259
259
|
name = "Component list"
|
|
260
|
-
url = "/components"
|
|
260
|
+
url = "/components/"
|
|
261
261
|
weight = 1
|
|
262
262
|
parent = "home"
|
|
263
263
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -272,33 +272,33 @@
|
|
|
272
272
|
|
|
273
273
|
[[sidebar]]
|
|
274
274
|
name = "Translation Guide"
|
|
275
|
-
url = "/translations"
|
|
275
|
+
url = "/translations/"
|
|
276
276
|
weight = 3
|
|
277
277
|
parent = "home"
|
|
278
278
|
identifier = "translation-guide"
|
|
279
279
|
|
|
280
280
|
[[sidebar]]
|
|
281
281
|
name = "Translation Guide 1"
|
|
282
|
-
url = "/translations"
|
|
282
|
+
url = "/translations/"
|
|
283
283
|
weight = 1
|
|
284
284
|
parent = "translation-guide"
|
|
285
285
|
|
|
286
286
|
[[sidebar]]
|
|
287
287
|
name = "Translation Guide 2"
|
|
288
|
-
url = "/translations"
|
|
288
|
+
url = "/translations/"
|
|
289
289
|
weight = 1
|
|
290
290
|
parent = "translation-guide"
|
|
291
291
|
|
|
292
292
|
[[sidebar]]
|
|
293
293
|
name = "Third parent"
|
|
294
|
-
url = "/third-parent"
|
|
294
|
+
url = "/third-parent/"
|
|
295
295
|
weight = 2
|
|
296
296
|
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
|
|
297
297
|
identifier = "third-parent"
|
|
298
298
|
|
|
299
299
|
[[sidebar]]
|
|
300
300
|
name = "Test Children"
|
|
301
|
-
url = "/third-parent/test-children"
|
|
301
|
+
url = "/third-parent/test-children/"
|
|
302
302
|
weight = 1
|
|
303
303
|
parent = "third-parent"
|
|
304
304
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
|
|
307
307
|
[[sidebar]]
|
|
308
308
|
name = "Test Children 2"
|
|
309
|
-
url = "/third-parent/test-children-2"
|
|
309
|
+
url = "/third-parent/test-children-2/"
|
|
310
310
|
weight = 1
|
|
311
311
|
parent = "third-parent"
|
|
312
312
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -314,13 +314,13 @@
|
|
|
314
314
|
|
|
315
315
|
[[sidebar]]
|
|
316
316
|
name = "Test Children Children 1"
|
|
317
|
-
url = "/third-parent/test-children/test-children-children"
|
|
317
|
+
url = "/third-parent/test-children/test-children-children/"
|
|
318
318
|
weight = 1
|
|
319
319
|
parent = "test-children"
|
|
320
320
|
|
|
321
321
|
[[sidebar]]
|
|
322
322
|
name = "Test Children Children 2"
|
|
323
|
-
url = "/third-parent/test-children/test-children-children-2"
|
|
323
|
+
url = "/third-parent/test-children/test-children-children-2/"
|
|
324
324
|
weight = 2
|
|
325
325
|
parent = "test-children"
|
|
326
326
|
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
|
|
234
234
|
[[sidebar]]
|
|
235
235
|
name = "Component list"
|
|
236
|
-
url = "/components"
|
|
236
|
+
url = "/components/"
|
|
237
237
|
weight = 1
|
|
238
238
|
parent = "home"
|
|
239
239
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -248,33 +248,33 @@
|
|
|
248
248
|
|
|
249
249
|
[[sidebar]]
|
|
250
250
|
name = "Translation Guide"
|
|
251
|
-
url = "/translations"
|
|
251
|
+
url = "/translations/"
|
|
252
252
|
weight = 3
|
|
253
253
|
parent = "home"
|
|
254
254
|
identifier = "translation-guide"
|
|
255
255
|
|
|
256
256
|
[[sidebar]]
|
|
257
257
|
name = "Translation Guide 1"
|
|
258
|
-
url = "/translations"
|
|
258
|
+
url = "/translations/"
|
|
259
259
|
weight = 1
|
|
260
260
|
parent = "translation-guide"
|
|
261
261
|
|
|
262
262
|
[[sidebar]]
|
|
263
263
|
name = "Translation Guide 2"
|
|
264
|
-
url = "/translations"
|
|
264
|
+
url = "/translations/"
|
|
265
265
|
weight = 1
|
|
266
266
|
parent = "translation-guide"
|
|
267
267
|
|
|
268
268
|
[[sidebar]]
|
|
269
269
|
name = "Third parent"
|
|
270
|
-
url = "/third-parent"
|
|
270
|
+
url = "/third-parent/"
|
|
271
271
|
weight = 2
|
|
272
272
|
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
|
|
273
273
|
identifier = "third-parent"
|
|
274
274
|
|
|
275
275
|
[[sidebar]]
|
|
276
276
|
name = "Test Children"
|
|
277
|
-
url = "/third-parent/test-children"
|
|
277
|
+
url = "/third-parent/test-children/"
|
|
278
278
|
weight = 1
|
|
279
279
|
parent = "third-parent"
|
|
280
280
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
|
|
283
283
|
[[sidebar]]
|
|
284
284
|
name = "Test Children 2"
|
|
285
|
-
url = "/third-parent/test-children-2"
|
|
285
|
+
url = "/third-parent/test-children-2/"
|
|
286
286
|
weight = 1
|
|
287
287
|
parent = "third-parent"
|
|
288
288
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -290,13 +290,13 @@
|
|
|
290
290
|
|
|
291
291
|
[[sidebar]]
|
|
292
292
|
name = "Test Children Children 1"
|
|
293
|
-
url = "/third-parent/test-children/test-children-children"
|
|
293
|
+
url = "/third-parent/test-children/test-children-children/"
|
|
294
294
|
weight = 1
|
|
295
295
|
parent = "test-children"
|
|
296
296
|
|
|
297
297
|
[[sidebar]]
|
|
298
298
|
name = "Test Children Children 2"
|
|
299
|
-
url = "/third-parent/test-children/test-children-children-2"
|
|
299
|
+
url = "/third-parent/test-children/test-children-children-2/"
|
|
300
300
|
weight = 2
|
|
301
301
|
parent = "test-children"
|
|
302
302
|
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
|
|
235
235
|
[[sidebar]]
|
|
236
236
|
name = "Liste des composantes"
|
|
237
|
-
url = "/components"
|
|
237
|
+
url = "/components/"
|
|
238
238
|
weight = 1
|
|
239
239
|
parent = "home"
|
|
240
240
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -249,32 +249,32 @@
|
|
|
249
249
|
|
|
250
250
|
[[sidebar]]
|
|
251
251
|
name = "Translation Guide"
|
|
252
|
-
url = "/translations"
|
|
252
|
+
url = "/translations/"
|
|
253
253
|
weight = 3
|
|
254
254
|
parent = "home"
|
|
255
255
|
|
|
256
256
|
[[sidebar]]
|
|
257
257
|
name = "Translation Guide 1"
|
|
258
|
-
url = "/translations"
|
|
258
|
+
url = "/translations/"
|
|
259
259
|
weight = 1
|
|
260
260
|
parent = "translation-guide"
|
|
261
261
|
|
|
262
262
|
[[sidebar]]
|
|
263
263
|
name = "Translation Guide 2"
|
|
264
|
-
url = "/translations"
|
|
264
|
+
url = "/translations/"
|
|
265
265
|
weight = 1
|
|
266
266
|
parent = "translation-guide"
|
|
267
267
|
|
|
268
268
|
[[sidebar]]
|
|
269
269
|
name = "Third parent"
|
|
270
|
-
url = "/third-parent"
|
|
270
|
+
url = "/third-parent/"
|
|
271
271
|
weight = 2
|
|
272
272
|
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
|
|
273
273
|
identifier = "third-parent"
|
|
274
274
|
|
|
275
275
|
[[sidebar]]
|
|
276
276
|
name = "Test Children"
|
|
277
|
-
url = "/third-parent/test-children"
|
|
277
|
+
url = "/third-parent/test-children/"
|
|
278
278
|
weight = 1
|
|
279
279
|
parent = "third-parent"
|
|
280
280
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
|
|
283
283
|
[[sidebar]]
|
|
284
284
|
name = "Test Children 2"
|
|
285
|
-
url = "/third-parent/test-children-2"
|
|
285
|
+
url = "/third-parent/test-children-2/"
|
|
286
286
|
weight = 1
|
|
287
287
|
parent = "third-parent"
|
|
288
288
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -290,13 +290,13 @@
|
|
|
290
290
|
|
|
291
291
|
[[sidebar]]
|
|
292
292
|
name = "Test Children Children 1"
|
|
293
|
-
url = "/third-parent/test-children/test-children-children"
|
|
293
|
+
url = "/third-parent/test-children/test-children-children/"
|
|
294
294
|
weight = 1
|
|
295
295
|
parent = "test-children"
|
|
296
296
|
|
|
297
297
|
[[sidebar]]
|
|
298
298
|
name = "Test Children Children 2"
|
|
299
|
-
url = "/third-parent/test-children/test-children-children-2"
|
|
299
|
+
url = "/third-parent/test-children/test-children-children-2/"
|
|
300
300
|
weight = 2
|
|
301
301
|
parent = "test-children"
|
|
302
302
|
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
|
|
234
234
|
[[sidebar]]
|
|
235
235
|
name = "Component list"
|
|
236
|
-
url = "/components"
|
|
236
|
+
url = "/components/"
|
|
237
237
|
weight = 1
|
|
238
238
|
parent = "home"
|
|
239
239
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -248,33 +248,33 @@
|
|
|
248
248
|
|
|
249
249
|
[[sidebar]]
|
|
250
250
|
name = "Translation Guide"
|
|
251
|
-
url = "/translations"
|
|
251
|
+
url = "/translations/"
|
|
252
252
|
weight = 3
|
|
253
253
|
parent = "home"
|
|
254
254
|
identifier = "translation-guide"
|
|
255
255
|
|
|
256
256
|
[[sidebar]]
|
|
257
257
|
name = "Translation Guide 1"
|
|
258
|
-
url = "/translations"
|
|
258
|
+
url = "/translations/"
|
|
259
259
|
weight = 1
|
|
260
260
|
parent = "translation-guide"
|
|
261
261
|
|
|
262
262
|
[[sidebar]]
|
|
263
263
|
name = "Translation Guide 2"
|
|
264
|
-
url = "/translations"
|
|
264
|
+
url = "/translations/"
|
|
265
265
|
weight = 1
|
|
266
266
|
parent = "translation-guide"
|
|
267
267
|
|
|
268
268
|
[[sidebar]]
|
|
269
269
|
name = "Third parent"
|
|
270
|
-
url = "/third-parent"
|
|
270
|
+
url = "/third-parent/"
|
|
271
271
|
weight = 2
|
|
272
272
|
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
|
|
273
273
|
identifier = "third-parent"
|
|
274
274
|
|
|
275
275
|
[[sidebar]]
|
|
276
276
|
name = "Test Children"
|
|
277
|
-
url = "/third-parent/test-children"
|
|
277
|
+
url = "/third-parent/test-children/"
|
|
278
278
|
weight = 1
|
|
279
279
|
parent = "third-parent"
|
|
280
280
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
|
|
283
283
|
[[sidebar]]
|
|
284
284
|
name = "Test Children 2"
|
|
285
|
-
url = "/third-parent/test-children-2"
|
|
285
|
+
url = "/third-parent/test-children-2/"
|
|
286
286
|
weight = 1
|
|
287
287
|
parent = "third-parent"
|
|
288
288
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -290,13 +290,13 @@
|
|
|
290
290
|
|
|
291
291
|
[[sidebar]]
|
|
292
292
|
name = "Test Children Children 1"
|
|
293
|
-
url = "/third-parent/test-children/test-children-children"
|
|
293
|
+
url = "/third-parent/test-children/test-children-children/"
|
|
294
294
|
weight = 1
|
|
295
295
|
parent = "test-children"
|
|
296
296
|
|
|
297
297
|
[[sidebar]]
|
|
298
298
|
name = "Test Children Children 2"
|
|
299
|
-
url = "/third-parent/test-children/test-children-children-2"
|
|
299
|
+
url = "/third-parent/test-children/test-children-children-2/"
|
|
300
300
|
weight = 2
|
|
301
301
|
parent = "test-children"
|
|
302
302
|
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
|
|
234
234
|
[[sidebar]]
|
|
235
235
|
name = "Component list"
|
|
236
|
-
url = "/components"
|
|
236
|
+
url = "/components/"
|
|
237
237
|
weight = 1
|
|
238
238
|
parent = "home"
|
|
239
239
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -248,33 +248,33 @@
|
|
|
248
248
|
|
|
249
249
|
[[sidebar]]
|
|
250
250
|
name = "Translation Guide"
|
|
251
|
-
url = "/translations"
|
|
251
|
+
url = "/translations/"
|
|
252
252
|
weight = 3
|
|
253
253
|
parent = "home"
|
|
254
254
|
identifier = "translation-guide"
|
|
255
255
|
|
|
256
256
|
[[sidebar]]
|
|
257
257
|
name = "Translation Guide 1"
|
|
258
|
-
url = "/translations"
|
|
258
|
+
url = "/translations/"
|
|
259
259
|
weight = 1
|
|
260
260
|
parent = "translation-guide"
|
|
261
261
|
|
|
262
262
|
[[sidebar]]
|
|
263
263
|
name = "Translation Guide 2"
|
|
264
|
-
url = "/translations"
|
|
264
|
+
url = "/translations/"
|
|
265
265
|
weight = 1
|
|
266
266
|
parent = "translation-guide"
|
|
267
267
|
|
|
268
268
|
[[sidebar]]
|
|
269
269
|
name = "Third parent"
|
|
270
|
-
url = "/third-parent"
|
|
270
|
+
url = "/third-parent/"
|
|
271
271
|
weight = 2
|
|
272
272
|
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
|
|
273
273
|
identifier = "third-parent"
|
|
274
274
|
|
|
275
275
|
[[sidebar]]
|
|
276
276
|
name = "Test Children"
|
|
277
|
-
url = "/third-parent/test-children"
|
|
277
|
+
url = "/third-parent/test-children/"
|
|
278
278
|
weight = 1
|
|
279
279
|
parent = "third-parent"
|
|
280
280
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
|
|
283
283
|
[[sidebar]]
|
|
284
284
|
name = "Test Children 2"
|
|
285
|
-
url = "/third-parent/test-children-2"
|
|
285
|
+
url = "/third-parent/test-children-2/"
|
|
286
286
|
weight = 1
|
|
287
287
|
parent = "third-parent"
|
|
288
288
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -290,13 +290,13 @@
|
|
|
290
290
|
|
|
291
291
|
[[sidebar]]
|
|
292
292
|
name = "Test Children Children 1"
|
|
293
|
-
url = "/third-parent/test-children/test-children-children"
|
|
293
|
+
url = "/third-parent/test-children/test-children-children/"
|
|
294
294
|
weight = 1
|
|
295
295
|
parent = "test-children"
|
|
296
296
|
|
|
297
297
|
[[sidebar]]
|
|
298
298
|
name = "Test Children Children 2"
|
|
299
|
-
url = "/third-parent/test-children/test-children-children-2"
|
|
299
|
+
url = "/third-parent/test-children/test-children-children-2/"
|
|
300
300
|
weight = 2
|
|
301
301
|
parent = "test-children"
|
|
302
302
|
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
|
|
234
234
|
[[sidebar]]
|
|
235
235
|
name = "Component list"
|
|
236
|
-
url = "/components"
|
|
236
|
+
url = "/components/"
|
|
237
237
|
weight = 1
|
|
238
238
|
parent = "home"
|
|
239
239
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -248,33 +248,33 @@
|
|
|
248
248
|
|
|
249
249
|
[[sidebar]]
|
|
250
250
|
name = "Translation Guide"
|
|
251
|
-
url = "/translations"
|
|
251
|
+
url = "/translations/"
|
|
252
252
|
weight = 3
|
|
253
253
|
parent = "home"
|
|
254
254
|
identifier = "translation-guide"
|
|
255
255
|
|
|
256
256
|
[[sidebar]]
|
|
257
257
|
name = "Translation Guide 1"
|
|
258
|
-
url = "/translations"
|
|
258
|
+
url = "/translations/"
|
|
259
259
|
weight = 1
|
|
260
260
|
parent = "translation-guide"
|
|
261
261
|
|
|
262
262
|
[[sidebar]]
|
|
263
263
|
name = "Translation Guide 2"
|
|
264
|
-
url = "/translations"
|
|
264
|
+
url = "/translations/"
|
|
265
265
|
weight = 1
|
|
266
266
|
parent = "translation-guide"
|
|
267
267
|
|
|
268
268
|
[[sidebar]]
|
|
269
269
|
name = "Third parent"
|
|
270
|
-
url = "/third-parent"
|
|
270
|
+
url = "/third-parent/"
|
|
271
271
|
weight = 2
|
|
272
272
|
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
|
|
273
273
|
identifier = "third-parent"
|
|
274
274
|
|
|
275
275
|
[[sidebar]]
|
|
276
276
|
name = "Test Children"
|
|
277
|
-
url = "/third-parent/test-children"
|
|
277
|
+
url = "/third-parent/test-children/"
|
|
278
278
|
weight = 1
|
|
279
279
|
parent = "third-parent"
|
|
280
280
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
|
|
283
283
|
[[sidebar]]
|
|
284
284
|
name = "Test Children 2"
|
|
285
|
-
url = "/third-parent/test-children-2"
|
|
285
|
+
url = "/third-parent/test-children-2/"
|
|
286
286
|
weight = 1
|
|
287
287
|
parent = "third-parent"
|
|
288
288
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -290,13 +290,13 @@
|
|
|
290
290
|
|
|
291
291
|
[[sidebar]]
|
|
292
292
|
name = "Test Children Children 1"
|
|
293
|
-
url = "/third-parent/test-children/test-children-children"
|
|
293
|
+
url = "/third-parent/test-children/test-children-children/"
|
|
294
294
|
weight = 1
|
|
295
295
|
parent = "test-children"
|
|
296
296
|
|
|
297
297
|
[[sidebar]]
|
|
298
298
|
name = "Test Children Children 2"
|
|
299
|
-
url = "/third-parent/test-children/test-children-children-2"
|
|
299
|
+
url = "/third-parent/test-children/test-children-children-2/"
|
|
300
300
|
weight = 2
|
|
301
301
|
parent = "test-children"
|
|
302
302
|
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
|
|
234
234
|
[[sidebar]]
|
|
235
235
|
name = "Component list"
|
|
236
|
-
url = "/components"
|
|
236
|
+
url = "/components/"
|
|
237
237
|
weight = 1
|
|
238
238
|
parent = "home"
|
|
239
239
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -248,33 +248,33 @@
|
|
|
248
248
|
|
|
249
249
|
[[sidebar]]
|
|
250
250
|
name = "Translation Guide"
|
|
251
|
-
url = "/translations"
|
|
251
|
+
url = "/translations/"
|
|
252
252
|
weight = 3
|
|
253
253
|
parent = "home"
|
|
254
254
|
identifier = "translation-guide"
|
|
255
255
|
|
|
256
256
|
[[sidebar]]
|
|
257
257
|
name = "Translation Guide 1"
|
|
258
|
-
url = "/translations"
|
|
258
|
+
url = "/translations/"
|
|
259
259
|
weight = 1
|
|
260
260
|
parent = "translation-guide"
|
|
261
261
|
|
|
262
262
|
[[sidebar]]
|
|
263
263
|
name = "Translation Guide 2"
|
|
264
|
-
url = "/translations"
|
|
264
|
+
url = "/translations/"
|
|
265
265
|
weight = 1
|
|
266
266
|
parent = "translation-guide"
|
|
267
267
|
|
|
268
268
|
[[sidebar]]
|
|
269
269
|
name = "Third parent"
|
|
270
|
-
url = "/third-parent"
|
|
270
|
+
url = "/third-parent/"
|
|
271
271
|
weight = 2
|
|
272
272
|
pre = "<i class=\"sidebar-menu-icon\" data-feather=\"github\"></i>"
|
|
273
273
|
identifier = "third-parent"
|
|
274
274
|
|
|
275
275
|
[[sidebar]]
|
|
276
276
|
name = "Test Children"
|
|
277
|
-
url = "/third-parent/test-children"
|
|
277
|
+
url = "/third-parent/test-children/"
|
|
278
278
|
weight = 1
|
|
279
279
|
parent = "third-parent"
|
|
280
280
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
|
|
283
283
|
[[sidebar]]
|
|
284
284
|
name = "Test Children 2"
|
|
285
|
-
url = "/third-parent/test-children-2"
|
|
285
|
+
url = "/third-parent/test-children-2/"
|
|
286
286
|
weight = 1
|
|
287
287
|
parent = "third-parent"
|
|
288
288
|
pre = "<i class=\"fa fa-chevron-right fa-fw\"></i>"
|
|
@@ -290,13 +290,13 @@
|
|
|
290
290
|
|
|
291
291
|
[[sidebar]]
|
|
292
292
|
name = "Test Children Children 1"
|
|
293
|
-
url = "/third-parent/test-children/test-children-children"
|
|
293
|
+
url = "/third-parent/test-children/test-children-children/"
|
|
294
294
|
weight = 1
|
|
295
295
|
parent = "test-children"
|
|
296
296
|
|
|
297
297
|
[[sidebar]]
|
|
298
298
|
name = "Test Children Children 2"
|
|
299
|
-
url = "/third-parent/test-children/test-children-children-2"
|
|
299
|
+
url = "/third-parent/test-children/test-children-children-2/"
|
|
300
300
|
weight = 2
|
|
301
301
|
parent = "test-children"
|
|
302
302
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!--
|
|
1
|
+
<!--
|
|
2
2
|
Copyright (c) 2018 Eclipse Foundation, Inc.
|
|
3
3
|
|
|
4
4
|
This program and the accompanying materials are made available under the
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
{{ range .Children }}
|
|
25
25
|
{{ if .HasChildren }}
|
|
26
26
|
<div class="row sidebar-block-item{{ if eq $currentPage.Title .Name }} active{{ end }}">
|
|
27
|
-
<a href="{{ .URL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
|
|
27
|
+
<a href="{{ .URL | absURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
|
|
28
28
|
<div class="col-xs-6">{{ .Pre }}</div>
|
|
29
29
|
<div class="col-xs-18 sidebar-block-text">{{ .Name }}</div>
|
|
30
30
|
</a>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<div class="row sidebar-block-sub-items margin-bottom-20">
|
|
33
33
|
{{ range .Children }}
|
|
34
34
|
<div class="row sidebar-block-sub-item{{ if eq $currentPage.Title .Name }} active{{ end }}">
|
|
35
|
-
<a href="{{ .URL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
|
|
35
|
+
<a href="{{ .URL | absURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
|
|
36
36
|
<div class="col-xs-18 col-xs-offset-6 sidebar-block-text">{{ .Name }}</div>
|
|
37
37
|
</a>
|
|
38
38
|
</div>
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</div>
|
|
41
41
|
{{ else if or (eq $parentItem.Identifier $currentSection) (eq .Parent $currentSection) }}
|
|
42
42
|
<div class="row sidebar-block-item{{ if eq $currentPage.Title .Name }} active{{ end }}">
|
|
43
|
-
<a href="{{ .URL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
|
|
43
|
+
<a href="{{ .URL | absURL }}" {{ if eq $currentPage.Title .Name }}class="active"{{ end }}>
|
|
44
44
|
<div class="col-xs-6">{{ .Pre }}</div>
|
|
45
45
|
<div class="col-xs-18 sidebar-block-text">{{ .Name }}</div>
|
|
46
46
|
</a>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!--
|
|
1
|
+
<!--
|
|
2
2
|
Copyright (c) 2018 Eclipse Foundation, Inc.
|
|
3
3
|
This program and the accompanying materials are made available under the
|
|
4
4
|
terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -15,23 +15,23 @@
|
|
|
15
15
|
{{ if $currentPage.Section }}
|
|
16
16
|
{{ .Scratch.Set "currentSection" $currentPage.Section }}
|
|
17
17
|
{{ end }}
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
{{$currentSection := .Scratch.Get "currentSection" }}
|
|
20
20
|
|
|
21
21
|
{{ range .Site.Menus.sidebar }}
|
|
22
22
|
{{$parentItem := . }}
|
|
23
|
-
|
|
23
|
+
|
|
24
24
|
{{ if and (.HasChildren) (eq $currentSection $parentItem.Identifier) }}
|
|
25
25
|
<aside id="main-sidebar" class="subpage-sidebar">
|
|
26
26
|
<ul id="leftnav" class="ul-left-nav fa-ul hidden-print">
|
|
27
27
|
<li class="separator">
|
|
28
|
-
<a class="separator" href="{{ .URL }}">{{ $parentItem.Name }}</a>
|
|
28
|
+
<a class="separator" href="{{ .URL | absURL }}">{{ $parentItem.Name }}</a>
|
|
29
29
|
</li>
|
|
30
30
|
{{ range .Children }}
|
|
31
31
|
{{ if or (eq $parentItem.Identifier $currentSection) (eq .Parent $currentSection) }}
|
|
32
32
|
<li{{if $currentPage.IsMenuCurrent "main" . }} class="active"{{end}}>
|
|
33
33
|
{{ .Pre }}
|
|
34
|
-
<a href="{{ .URL }}" target="_self">{{ .Name }}</a>
|
|
34
|
+
<a href="{{ .URL | absURL }}" target="_self">{{ .Name }}</a>
|
|
35
35
|
</li>
|
|
36
36
|
{{ end }}
|
|
37
37
|
{{ end }}
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
<div class="text-right toolbar-row row hidden-print">
|
|
17
17
|
<div class="col-md-24 row-toolbar-col">
|
|
18
18
|
<ul class="list-inline">
|
|
19
|
-
<li><a href="https://accounts.eclipse.org/user/edit" class="" data-tab-destination="tab-profile"><i class="fa fa-edit fa-fw"></i
|
|
20
|
-
<li><a class="toolbar-link toolbar-manage-cookies dropdown-toggle"><i class="fa fa-wrench"></i
|
|
19
|
+
<li><a href="https://accounts.eclipse.org/user/edit" class="" data-tab-destination="tab-profile"><i class="fa fa-edit fa-fw"></i> {{ i18n "navbar-edit-acccount-label" }}</a></li>
|
|
20
|
+
<li><a class="toolbar-link toolbar-manage-cookies dropdown-toggle"><i class="fa fa-wrench"></i> {{ i18n "navbar-manage-cookies-label" }}</a></li>
|
|
21
21
|
{{ if gt (len .AllTranslations) 1 }}
|
|
22
22
|
<li class="language-selector dropdown">
|
|
23
23
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
|
|
24
|
-
<i class="fa fa-globe"></i
|
|
24
|
+
<i class="fa fa-globe"></i>
|
|
25
25
|
<span> {{ .Language.LanguageName }}</span>
|
|
26
26
|
<b class="caret"></b>
|
|
27
27
|
</a>
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "webpack.min.js",
|
|
5
5
|
"author": "Christopher Guindon",
|
|
6
6
|
"license": "EPL-2.0",
|
|
7
|
-
"version": "0.0.
|
|
7
|
+
"version": "0.0.174",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
|
|
10
10
|
},
|
|
@@ -18,13 +18,12 @@
|
|
|
18
18
|
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
19
19
|
"production": "NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
20
20
|
"fetch_project": "node bin/projects/index.js -l exampleSite/data",
|
|
21
|
-
"build": "npm run
|
|
22
|
-
"prepare_release": "rm -rf node_modules && rm package-lock.json && npm install && npm run production && git add . && git commit -m \"prepare new release\" -s"
|
|
21
|
+
"build": "npm run production && npm run fetch_project"
|
|
23
22
|
},
|
|
24
23
|
"readmeFilename": "README.md",
|
|
25
24
|
"dependencies": {
|
|
26
25
|
"axios": "^0.21.1",
|
|
27
|
-
"eclipsefdn-solstice-assets": "^0.0.
|
|
26
|
+
"eclipsefdn-solstice-assets": "^0.0.212",
|
|
28
27
|
"json2yaml": "^1.1.0",
|
|
29
28
|
"toml": "^3.0.0"
|
|
30
29
|
},
|
package/netlify.toml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
[build]
|
|
2
|
-
command = "npm run build && hugo --gc --minify -b $URL --themesDir ../../ --source exampleSite"
|
|
3
|
-
publish = "exampleSite/public"
|
|
4
|
-
|
|
5
|
-
[build.environment]
|
|
6
|
-
HUGO_THEME = "repo"
|
|
7
|
-
HUGO_VERSION = "0.76.5"
|
|
8
|
-
HUGO_ENABLEGITINFO = "true"
|
|
9
|
-
NODE_VERSION = "12.18.3"
|
|
10
|
-
|
|
11
|
-
[context.production.environment]
|
|
12
|
-
HUGO_ENV = "production"
|
|
13
|
-
|
|
14
|
-
[context.deploy-preview]
|
|
15
|
-
command = "npm run build && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../ --source exampleSite"
|
|
16
|
-
|
|
17
|
-
[context.branch-deploy]
|
|
18
|
-
command = "npm run build && hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../ --source exampleSite"
|