Skip to content

Commit 62f77ff

Browse files
authored
Merge pull request #52 from h-enk/migrate-hyas-thulite
Migrate from Hyas to Thulite
2 parents 6973eae + 29b28eb commit 62f77ff

File tree

6 files changed

+2207
-1343
lines changed

6 files changed

+2207
-1343
lines changed

config/_default/hugo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ title = "YAGPDB Help Center"
22
copyright = "Copyright (c) 2020-2024 YAGPDB documentation contributors"
33
# To avoid weirdness with images and whatnot, this is empty and instead set at build time.
44
# See also https://discourse.gohugo.io/t/solved-what-should-be-used-for-the-value-of-site-baseurl/5896
5-
baseURL = ""
5+
# baseURL = ""
6+
baseurl = "http://localhost/"
67
canonifyURLs = false
78
disableAliases = true
89
enableGitInfo = false

config/_default/module.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# mounts
22
## archetypes
33
[[mounts]]
4-
source = "node_modules/@hyas/doks-core/archetypes"
4+
source = "node_modules/@thulite/doks-core/archetypes"
55
target = "archetypes"
66

77
[[mounts]]
@@ -10,15 +10,15 @@
1010

1111
## assets
1212
[[mounts]]
13-
source = "node_modules/@hyas/core/assets"
13+
source = "node_modules/@thulite/core/assets"
1414
target = "assets"
1515

1616
[[mounts]]
17-
source = "node_modules/@hyas/images/assets"
17+
source = "node_modules/@thulite/images/assets"
1818
target = "assets"
1919

2020
[[mounts]]
21-
source = "node_modules/@hyas/doks-core/assets"
21+
source = "node_modules/@thulite/doks-core/assets"
2222
target = "assets"
2323

2424
[[mounts]]
@@ -36,7 +36,7 @@
3636

3737
## data
3838
[[mounts]]
39-
source = "node_modules/@hyas/doks-core/data"
39+
source = "node_modules/@thulite/doks-core/data"
4040
target = "data"
4141

4242
[[mounts]]
@@ -45,7 +45,7 @@
4545

4646
## i18n
4747
[[mounts]]
48-
source = "node_modules/@hyas/doks-core/i18n"
48+
source = "node_modules/@thulite/doks-core/i18n"
4949
target = "i18n"
5050

5151
[[mounts]]
@@ -54,23 +54,23 @@
5454

5555
## layouts
5656
[[mounts]]
57-
source = "node_modules/@hyas/core/layouts"
57+
source = "node_modules/@thulite/core/layouts"
5858
target = "layouts"
5959

6060
[[mounts]]
61-
source = "node_modules/@hyas/seo/layouts"
61+
source = "node_modules/@thulite/seo/layouts"
6262
target = "layouts"
6363

6464
[[mounts]]
65-
source = "node_modules/@hyas/images/layouts"
65+
source = "node_modules/@thulite/images/layouts"
6666
target = "layouts"
6767

6868
[[mounts]]
69-
source = "node_modules/@hyas/doks-core/layouts"
69+
source = "node_modules/@thulite/doks-core/layouts"
7070
target = "layouts"
7171

7272
[[mounts]]
73-
source = "node_modules/@hyas/inline-svg/layouts"
73+
source = "node_modules/@thulite/inline-svg/layouts"
7474
target = "layouts"
7575

7676
[[mounts]]
@@ -79,7 +79,7 @@
7979

8080
## static
8181
[[mounts]]
82-
source = "node_modules/@hyas/doks-core/static"
82+
source = "node_modules/@thulite/doks-core/static"
8383
target = "static"
8484

8585
[[mounts]]

config/_default/params.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ images = [] # og:image; not needed.
44

55
mainSections = ["docs"]
66

7+
[social]
8+
twitter = ""
9+
710
[add_ons]
811
docSearch = true
912

config/postcss.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ module.exports = {
6060
...whitelister([
6161
'./assets/scss/**/*.scss',
6262
'./node_modules/@docsearch/css/dist/modal.css',
63-
'./node_modules/@hyas/doks-core/assets/scss/common/_syntax.scss',
64-
'./node_modules/@hyas/doks-core/assets/scss/components/_code.scss',
65-
'./node_modules/@hyas/doks-core/assets/scss/components/_expressive-code.scss',
63+
'./node_modules/@thulite/doks-core/assets/scss/common/_syntax.scss',
64+
'./node_modules/@thulite/doks-core/assets/scss/components/_code.scss',
65+
'./node_modules/@thulite/doks-core/assets/scss/components/_expressive-code.scss',
6666
]),
6767
],
6868
}),

0 commit comments

Comments
 (0)