Skip to content

Commit

Permalink
Merge pull request #52 from h-enk/migrate-hyas-thulite
Browse files Browse the repository at this point in the history
Migrate from Hyas to Thulite
  • Loading branch information
l-zeuch authored Oct 22, 2024
2 parents 6973eae + 29b28eb commit 62f77ff
Show file tree
Hide file tree
Showing 6 changed files with 2,207 additions and 1,343 deletions.
3 changes: 2 additions & 1 deletion config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ title = "YAGPDB Help Center"
copyright = "Copyright (c) 2020-2024 YAGPDB documentation contributors"
# To avoid weirdness with images and whatnot, this is empty and instead set at build time.
# See also https://discourse.gohugo.io/t/solved-what-should-be-used-for-the-value-of-site-baseurl/5896
baseURL = ""
# baseURL = ""
baseurl = "http://localhost/"
canonifyURLs = false
disableAliases = true
enableGitInfo = false
Expand Down
24 changes: 12 additions & 12 deletions config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# mounts
## archetypes
[[mounts]]
source = "node_modules/@hyas/doks-core/archetypes"
source = "node_modules/@thulite/doks-core/archetypes"
target = "archetypes"

[[mounts]]
Expand All @@ -10,15 +10,15 @@

## assets
[[mounts]]
source = "node_modules/@hyas/core/assets"
source = "node_modules/@thulite/core/assets"
target = "assets"

[[mounts]]
source = "node_modules/@hyas/images/assets"
source = "node_modules/@thulite/images/assets"
target = "assets"

[[mounts]]
source = "node_modules/@hyas/doks-core/assets"
source = "node_modules/@thulite/doks-core/assets"
target = "assets"

[[mounts]]
Expand All @@ -36,7 +36,7 @@

## data
[[mounts]]
source = "node_modules/@hyas/doks-core/data"
source = "node_modules/@thulite/doks-core/data"
target = "data"

[[mounts]]
Expand All @@ -45,7 +45,7 @@

## i18n
[[mounts]]
source = "node_modules/@hyas/doks-core/i18n"
source = "node_modules/@thulite/doks-core/i18n"
target = "i18n"

[[mounts]]
Expand All @@ -54,23 +54,23 @@

## layouts
[[mounts]]
source = "node_modules/@hyas/core/layouts"
source = "node_modules/@thulite/core/layouts"
target = "layouts"

[[mounts]]
source = "node_modules/@hyas/seo/layouts"
source = "node_modules/@thulite/seo/layouts"
target = "layouts"

[[mounts]]
source = "node_modules/@hyas/images/layouts"
source = "node_modules/@thulite/images/layouts"
target = "layouts"

[[mounts]]
source = "node_modules/@hyas/doks-core/layouts"
source = "node_modules/@thulite/doks-core/layouts"
target = "layouts"

[[mounts]]
source = "node_modules/@hyas/inline-svg/layouts"
source = "node_modules/@thulite/inline-svg/layouts"
target = "layouts"

[[mounts]]
Expand All @@ -79,7 +79,7 @@

## static
[[mounts]]
source = "node_modules/@hyas/doks-core/static"
source = "node_modules/@thulite/doks-core/static"
target = "static"

[[mounts]]
Expand Down
3 changes: 3 additions & 0 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ images = [] # og:image; not needed.

mainSections = ["docs"]

[social]
twitter = ""

[add_ons]
docSearch = true

Expand Down
6 changes: 3 additions & 3 deletions config/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ module.exports = {
...whitelister([
'./assets/scss/**/*.scss',
'./node_modules/@docsearch/css/dist/modal.css',
'./node_modules/@hyas/doks-core/assets/scss/common/_syntax.scss',
'./node_modules/@hyas/doks-core/assets/scss/components/_code.scss',
'./node_modules/@hyas/doks-core/assets/scss/components/_expressive-code.scss',
'./node_modules/@thulite/doks-core/assets/scss/common/_syntax.scss',
'./node_modules/@thulite/doks-core/assets/scss/components/_code.scss',
'./node_modules/@thulite/doks-core/assets/scss/components/_expressive-code.scss',
]),
],
}),
Expand Down
Loading

0 comments on commit 62f77ff

Please sign in to comment.