Skip to content

Commit 660e370

Browse files
Merge branch 'bugfix' into fix_auth_provider_500
2 parents 6c7768a + 9b4e4df commit 660e370

20 files changed

+1183
-1356
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Hugo
1616
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
1717
with:
18-
hugo-version: '0.140.1' # renovate: datasource=github-releases depName=gohugoio/hugo versioning=loose
18+
hugo-version: '0.152.1' # renovate: datasource=github-releases depName=gohugoio/hugo versioning=loose
1919
extended: true
2020

2121
- name: Setup Node

.github/workflows/validate_docs_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Hugo
1313
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
1414
with:
15-
hugo-version: '0.140.1' # renovate: datasource=github-releases depName=gohugoio/hugo versioning=loose
15+
hugo-version: '0.152.1' # renovate: datasource=github-releases depName=gohugoio/hugo versioning=loose
1616
extended: true
1717

1818
- name: Setup Node

docs/assets/favicon.svg

Lines changed: 57 additions & 0 deletions
Loading

docs/config/_default/hugo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
title = "DefectDojo Documentation"
22
baseurl = "http://localhost/"
3-
canonifyURLs = false
43
disableAliases = true
54
disableHugoGeneratorInject = true
65
disableKinds = ["taxonomy", "term"]
@@ -84,3 +83,6 @@ copyRight = "Copyright (c) 2020-2024 Thulite"
8483
hint = "photo"
8584
quality = 85
8685
resampleFilter = "Lanczos"
86+
87+
[pagination]
88+
pagerSize = 10

docs/config/_default/module.toml

Lines changed: 50 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,52 @@
1-
# mounts
2-
## archetypes
3-
[[mounts]]
4-
source = "node_modules/@thulite/doks-core/archetypes"
5-
target = "archetypes"
1+
# Module Configuration File
2+
#
3+
# This file configures Hugo module settings, particularly module mounts which
4+
# define how content is organized within the project.
5+
#
6+
# Mounts specify file paths in your project that Hugo should use when building
7+
# the site. They allow for custom directory structures and integrating content
8+
# from different locations.
69

10+
## content
711
[[mounts]]
8-
source = "archetypes"
9-
target = "archetypes"
12+
source = "content"
13+
target = "content"
1014

11-
## assets
15+
## data
1216
[[mounts]]
13-
source = "node_modules/@thulite/core/assets"
14-
target = "assets"
17+
source = "node_modules/@thulite/doks-core/data"
18+
target = "data"
1519

1620
[[mounts]]
17-
source = "node_modules/@thulite/images/assets"
18-
target = "assets"
21+
source = "data"
22+
target = "data"
1923

24+
## layouts
2025
[[mounts]]
21-
source = "node_modules/@thulite/doks-core/assets"
22-
target = "assets"
26+
source = "layouts"
27+
target = "layouts"
2328

2429
[[mounts]]
25-
source = "node_modules/@tabler/icons/icons"
26-
target = "assets/svgs/tabler-icons"
30+
# Exclude 'home.html' to avoid conflicts with a custom home page layout defined in the local 'layouts' directory.
31+
excludeFiles = "home.html"
32+
source = "node_modules/@thulite/doks-core/layouts"
33+
target = "layouts"
2734

2835
[[mounts]]
29-
source = "assets"
30-
target = "assets"
36+
source = "node_modules/@thulite/core/layouts"
37+
target = "layouts"
3138

32-
## content
3339
[[mounts]]
34-
source = "content"
35-
target = "content"
40+
source = "node_modules/@thulite/seo/layouts"
41+
target = "layouts"
3642

37-
## data
3843
[[mounts]]
39-
source = "node_modules/@thulite/doks-core/data"
40-
target = "data"
44+
source = "node_modules/@thulite/images/layouts"
45+
target = "layouts"
4146

4247
[[mounts]]
43-
source = "data"
44-
target = "data"
48+
source = "node_modules/@thulite/inline-svg/layouts"
49+
target = "layouts"
4550

4651
## i18n
4752
[[mounts]]
@@ -52,30 +57,35 @@
5257
source = "i18n"
5358
target = "i18n"
5459

55-
## layouts
60+
## archetypes
5661
[[mounts]]
57-
source = "node_modules/@thulite/core/layouts"
58-
target = "layouts"
62+
source = "node_modules/@thulite/doks-core/archetypes"
63+
target = "archetypes"
5964

6065
[[mounts]]
61-
source = "node_modules/@thulite/seo/layouts"
62-
target = "layouts"
66+
source = "archetypes"
67+
target = "archetypes"
6368

69+
## assets
6470
[[mounts]]
65-
source = "node_modules/@thulite/images/layouts"
66-
target = "layouts"
71+
source = "node_modules/@thulite/core/assets"
72+
target = "assets"
6773

6874
[[mounts]]
69-
source = "node_modules/@thulite/doks-core/layouts"
70-
target = "layouts"
75+
source = "node_modules/@thulite/doks-core/assets"
76+
target = "assets"
7177

7278
[[mounts]]
73-
source = "node_modules/@thulite/inline-svg/layouts"
74-
target = "layouts"
79+
source = "node_modules/@tabler/icons/icons"
80+
target = "assets/svgs/tabler-icons"
7581

7682
[[mounts]]
77-
source = "layouts"
78-
target = "layouts"
83+
source = "node_modules/@thulite/images/assets"
84+
target = "assets"
85+
86+
[[mounts]]
87+
source = "assets"
88+
target = "assets"
7989

8090
## static
8191
[[mounts]]
@@ -84,4 +94,4 @@
8494

8595
[[mounts]]
8696
source = "static"
87-
target = "static"
97+
target = "static"

docs/config/postcss.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
const autoprefixer = require('autoprefixer');
2-
const purgecss = require('@fullhuman/postcss-purgecss');
2+
const { purgeCSSPlugin } = require('@fullhuman/postcss-purgecss');
33
const whitelister = require('purgecss-whitelister');
44

55
module.exports = {
66
plugins: [
77
autoprefixer(),
8-
purgecss({
8+
purgeCSSPlugin({
99
content: ['./hugo_stats.json'],
1010
extractors: [
1111
{
@@ -18,7 +18,6 @@ module.exports = {
1818
],
1919
dynamicAttributes: [
2020
'aria-expanded',
21-
'aria-selected',
2221
'data-bs-popper',
2322
'data-bs-target',
2423
'data-bs-theme',
@@ -62,4 +61,4 @@ module.exports = {
6261
]
6362
})
6463
]
65-
};
64+
};

docs/layouts/partials/footer/script-footer-custom.html renamed to docs/layouts/_partials/footer/script-footer-custom.html

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)