Skip to content

Commit

Permalink
feat: update for @hyas/doks-core v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
h-enk committed Mar 1, 2024
1 parent d33d5b6 commit c177c10
Show file tree
Hide file tree
Showing 12 changed files with 354 additions and 299 deletions.
15 changes: 15 additions & 0 deletions config/_default/menus/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down
2 changes: 1 addition & 1 deletion config/_default/module.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
24 changes: 12 additions & 12 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand Down
4 changes: 0 additions & 4 deletions content/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 0 additions & 4 deletions content/docs/guides/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 0 additions & 4 deletions content/docs/guides/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 2 additions & 4 deletions content/docs/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions content/docs/reference/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
17 changes: 17 additions & 0 deletions content/docs/resources.md
Original file line number Diff line number Diff line change
@@ -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.
19 changes: 4 additions & 15 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"classes": [
"DocSearch-Label",
"active",
"align-items-center",
"anchor",
"bg-dots",
"blog",
Expand All @@ -59,8 +58,6 @@
"btn-lg",
"btn-link",
"btn-primary",
"btn-toggle",
"btn-toggle-nav",
"card",
"card-body",
"card-list",
Expand All @@ -76,9 +73,6 @@
"col-xl-4",
"col-xl-8",
"col-xl-9",
"collapse",
"collapsed",
"collapsible-sidebar",
"container",
"container-fluid",
"container-lg",
Expand All @@ -95,7 +89,6 @@
"d-xl-none",
"docs",
"docs-content",
"docs-link",
"docs-links",
"docs-sidebar",
"docs-toc",
Expand All @@ -112,7 +105,6 @@
"form-control",
"form-control-lg",
"fs-5",
"fw-normal",
"h-auto",
"h3",
"h4",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -205,9 +196,8 @@
"section",
"section-features",
"section-md",
"show",
"section-nav",
"single",
"small",
"social-link",
"status",
"sticky-top",
Expand All @@ -223,6 +213,7 @@
"text-lg-end",
"text-lg-start",
"text-muted",
"text-nowrap",
"text-reset",
"title",
"title-submitted",
Expand All @@ -247,8 +238,6 @@
"searchResults",
"searchToggleDesktop",
"searchToggleMobile",
"section-45389ee90014e0938cb09409b9a8794d",
"section-63d5049791d9d79d86e9a108b0a999ca",
"socialMenu",
"toc"
]
Expand Down
Loading

0 comments on commit c177c10

Please sign in to comment.