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"
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]]
name = "Privacy Policy"
url = "/privacy/"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

541
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "doks",
"version": "1.3.0",
"version": "1.4.0",
"description": "Doks theme",
"author": "Hyas",
"license": "MIT",
@ -30,21 +30,24 @@
"version": "auto-changelog -p && git add CHANGELOG.md"
},
"dependencies": {
"@hyas/doks-core": "^1.3.0",
"@hyas/images": "^2.0.3",
"@hyas/doks-core": "^1.4.0",
"@hyas/images": "^3.1.0",
"@hyas/inline-svg": "^1.0.5",
"@hyas/seo": "^2.1.0",
"@tabler/icons": "^2.40.0",
"exec-bin": "^1.0.0",
"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": {
"auto-changelog": "^2.4.0",
"shx": "^0.3.4"
},
"otherDependencies": {
"hugo": "0.121.1"
"hugo": "0.123.6"
},
"overrides": {
"semver": "^7.5.4"