feat: update for @hyas/doks-core v1.4.0

This commit is contained in:
Henk Verlinde 2024-03-01 13:00:50 +01:00
parent d33d5b6b22
commit c177c10daa
12 changed files with 354 additions and 299 deletions

View File

@ -58,6 +58,21 @@
post = "v0.1.0" post = "v0.1.0"
weight = 30 weight = 30
# [[sidebar_docs]]
# name = "Guides"
# pageRef = "/docs/guides"
# weight = 10
#
# [[sidebar_docs]]
# name = "Reference"
# pageRef = "/docs/reference"
# weight = 20
#
# [[sidebar_docs]]
# name = "Resources"
# pageRef = "/docs/resources"
# weight = 30
[[footer]] [[footer]]
name = "Privacy Policy" name = "Privacy Policy"
url = "/privacy/" url = "/privacy/"

View File

@ -12,11 +12,11 @@
[[mounts]] [[mounts]]
source = "node_modules/@hyas/core/assets" source = "node_modules/@hyas/core/assets"
target = "assets" target = "assets"
excludeFiles = ["scss/app.scss", "js/app.js"]
[[mounts]] [[mounts]]
source = "node_modules/@hyas/images/assets" source = "node_modules/@hyas/images/assets"
target = "assets" target = "assets"
excludeFiles = "/scss/**.scss"
[[mounts]] [[mounts]]
source = "node_modules/@hyas/doks-core/assets" source = "node_modules/@hyas/doks-core/assets"

View File

@ -87,10 +87,10 @@ mainSections = ["docs"]
# textLight = "#1d2d35" # "#1d2d35" (default), "#1d2d35" (orignal), or custom color # textLight = "#1d2d35" # "#1d2d35" (default), "#1d2d35" (orignal), or custom color
# accentLight = "#8ed6fb" # "#8ed6fb" (default), "#8ed6fb" (orignal), or custom color # accentLight = "#8ed6fb" # "#8ed6fb" (default), "#8ed6fb" (orignal), or custom color
[doks.menu] # [doks.menu]
[doks.menu.section] # [doks.menu.section]
auto = true # true (default) or false # auto = true # true (default) or false
collapsibleSidebar = true # true (default) or false # collapsibleSidebar = true # true (default) or false
# Debug # Debug
[render_hooks.image] [render_hooks.image]
@ -102,14 +102,14 @@ mainSections = ["docs"]
# Images (@hyas/images) # Images (@hyas/images)
[hyas_images] [hyas_images]
[hyas_images.landscape] [hyas_images.defaults]
normalize = "1360x765" # "1600x900" (default) decoding = "async" # sync, async, or auto (default)
lqip = "16x9" # "16x9" (default) fetchpriority = "auto" # high, low, or auto (default)
widths = [480, 640, 800, 1024] loading = "lazy" # eager or lazy (default)
[hyas_images.portrait] widths = [480, 576, 768, 1025, 1200, 1440] # [640, 768, 1024, 1366, 1600, 1920] for example
normalize = "765x1360" # "900x1600" (default) sizes = "auto" # 100vw (default), 75vw, or auto for example
lqip = "9x16" # "9x16" (default) process = "" # "fill 1600x900" or "fill 2100x900" for example
widths = [480, 640, 800, 1024] lqip = "16x webp q20" # "16x webp q20" or "21x webp q20" for example
# Inline SVG (@hyas/inline-svg) # Inline SVG (@hyas/inline-svg)
[inline_svg] [inline_svg]

View File

@ -5,10 +5,6 @@ summary: ""
date: 2023-09-07T16:12:03+02:00 date: 2023-09-07T16:12:03+02:00
lastmod: 2023-09-07T16:12:03+02:00 lastmod: 2023-09-07T16:12:03+02:00
draft: false draft: false
menu:
docs:
parent: ""
identifier: "docs-9602b15bad02600f3883f55e2ade6b81"
weight: 999 weight: 999
toc: true toc: true
seo: seo:

View File

@ -5,10 +5,6 @@ summary: ""
date: 2023-09-07T16:06:50+02:00 date: 2023-09-07T16:06:50+02:00
lastmod: 2023-09-07T16:06:50+02:00 lastmod: 2023-09-07T16:06:50+02:00
draft: false draft: false
menu:
docs:
parent: ""
identifier: "guides-4e0d0e0f89f7decc11eaad4ae9193018"
weight: 800 weight: 800
toc: true toc: true
seo: seo:

View File

@ -5,10 +5,6 @@ summary: ""
date: 2023-09-07T16:04:48+02:00 date: 2023-09-07T16:04:48+02:00
lastmod: 2023-09-07T16:04:48+02:00 lastmod: 2023-09-07T16:04:48+02:00
draft: false draft: false
menu:
docs:
parent: ""
identifier: "example-6a1a6be4373e933280d78ea53de6158e"
weight: 810 weight: 810
toc: true toc: true
seo: seo:

View File

@ -5,12 +5,10 @@ summary: ""
date: 2023-09-07T16:12:37+02:00 date: 2023-09-07T16:12:37+02:00
lastmod: 2023-09-07T16:12:37+02:00 lastmod: 2023-09-07T16:12:37+02:00
draft: false draft: false
menu:
docs:
parent: ""
identifier: "reference-22e9ba8aefa7ef9891199cf8db3a08cd"
weight: 900 weight: 900
toc: true toc: true
sidebar:
collapsed: true
seo: seo:
title: "" # custom title (optional) title: "" # custom title (optional)
description: "" # custom description (recommended) description: "" # custom description (recommended)

View File

@ -5,10 +5,6 @@ summary: ""
date: 2023-09-07T16:13:18+02:00 date: 2023-09-07T16:13:18+02:00
lastmod: 2023-09-07T16:13:18+02:00 lastmod: 2023-09-07T16:13:18+02:00
draft: false draft: false
menu:
docs:
parent: ""
identifier: "example-ee51430687e728ba6e68dea3359133ad"
weight: 910 weight: 910
toc: true toc: true
seo: seo:

17
content/docs/resources.md Normal file
View File

@ -0,0 +1,17 @@
---
title: "Resources"
description: ""
summary: ""
date: 2024-02-27T09:30:56+01:00
lastmod: 2024-02-27T09:30:56+01:00
draft: false
weight: 999
toc: true
seo:
title: "" # custom title (optional)
description: "" # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
Link to valuable, relevant resources.

View File

@ -48,7 +48,6 @@
"classes": [ "classes": [
"DocSearch-Label", "DocSearch-Label",
"active", "active",
"align-items-center",
"anchor", "anchor",
"bg-dots", "bg-dots",
"blog", "blog",
@ -59,8 +58,6 @@
"btn-lg", "btn-lg",
"btn-link", "btn-link",
"btn-primary", "btn-primary",
"btn-toggle",
"btn-toggle-nav",
"card", "card",
"card-body", "card-body",
"card-list", "card-list",
@ -76,9 +73,6 @@
"col-xl-4", "col-xl-4",
"col-xl-8", "col-xl-8",
"col-xl-9", "col-xl-9",
"collapse",
"collapsed",
"collapsible-sidebar",
"container", "container",
"container-fluid", "container-fluid",
"container-lg", "container-lg",
@ -95,7 +89,6 @@
"d-xl-none", "d-xl-none",
"docs", "docs",
"docs-content", "docs-content",
"docs-link",
"docs-links", "docs-links",
"docs-sidebar", "docs-sidebar",
"docs-toc", "docs-toc",
@ -112,7 +105,6 @@
"form-control", "form-control",
"form-control-lg", "form-control-lg",
"fs-5", "fs-5",
"fw-normal",
"h-auto", "h-auto",
"h3", "h3",
"h4", "h4",
@ -138,10 +130,11 @@
"list", "list",
"list-inline", "list-inline",
"list-inline-item", "list-inline-item",
"list-nested",
"list-unstyled", "list-unstyled",
"list-view", "list-view",
"m-2",
"mb-0", "mb-0",
"mb-1",
"me-2", "me-2",
"me-auto", "me-auto",
"me-lg-1", "me-lg-1",
@ -184,14 +177,12 @@
"page-footer-meta", "page-footer-meta",
"page-links", "page-links",
"page-nav", "page-nav",
"pb-1",
"pb-3", "pb-3",
"position-relative", "position-relative",
"privacy", "privacy",
"px-0", "px-0",
"query-no-results", "query-no-results",
"reading-time", "reading-time",
"rounded",
"rounded-pill", "rounded-pill",
"row", "row",
"search-form", "search-form",
@ -205,9 +196,8 @@
"section", "section",
"section-features", "section-features",
"section-md", "section-md",
"show", "section-nav",
"single", "single",
"small",
"social-link", "social-link",
"status", "status",
"sticky-top", "sticky-top",
@ -223,6 +213,7 @@
"text-lg-end", "text-lg-end",
"text-lg-start", "text-lg-start",
"text-muted", "text-muted",
"text-nowrap",
"text-reset", "text-reset",
"title", "title",
"title-submitted", "title-submitted",
@ -247,8 +238,6 @@
"searchResults", "searchResults",
"searchToggleDesktop", "searchToggleDesktop",
"searchToggleMobile", "searchToggleMobile",
"section-45389ee90014e0938cb09409b9a8794d",
"section-63d5049791d9d79d86e9a108b0a999ca",
"socialMenu", "socialMenu",
"toc" "toc"
] ]

541
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "doks", "name": "doks",
"version": "1.3.0", "version": "1.4.0",
"description": "Doks theme", "description": "Doks theme",
"author": "Hyas", "author": "Hyas",
"license": "MIT", "license": "MIT",
@ -30,21 +30,24 @@
"version": "auto-changelog -p && git add CHANGELOG.md" "version": "auto-changelog -p && git add CHANGELOG.md"
}, },
"dependencies": { "dependencies": {
"@hyas/doks-core": "^1.3.0", "@hyas/doks-core": "^1.4.0",
"@hyas/images": "^2.0.3", "@hyas/images": "^3.1.0",
"@hyas/inline-svg": "^1.0.5", "@hyas/inline-svg": "^1.0.5",
"@hyas/seo": "^2.1.0", "@hyas/seo": "^2.1.0",
"@tabler/icons": "^2.40.0", "@tabler/icons": "^2.40.0",
"exec-bin": "^1.0.0", "exec-bin": "^1.0.0",
"gethyas": "^2.2.2", "gethyas": "^2.2.2",
"hugo-installer": "^4.0.1" "hugo-installer": "^4.0.1",
"@hyas/bootstrap": "^1.0.4",
"clipboard": "^2.0.11",
"flexsearch": "^0.7.34"
}, },
"devDependencies": { "devDependencies": {
"auto-changelog": "^2.4.0", "auto-changelog": "^2.4.0",
"shx": "^0.3.4" "shx": "^0.3.4"
}, },
"otherDependencies": { "otherDependencies": {
"hugo": "0.121.1" "hugo": "0.123.6"
}, },
"overrides": { "overrides": {
"semver": "^7.5.4" "semver": "^7.5.4"