deps: bumps @hyas/doks-core from 1.0.3 to 1.1.0
This commit is contained in:
@ -19,6 +19,9 @@ defaultContentLanguageInSubdir = false
|
||||
|
||||
copyRight = "Copyright (c) 2020-2023 Henk Verlinde"
|
||||
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
|
||||
[social]
|
||||
twitter = "getdoks"
|
||||
|
||||
|
@ -1,88 +0,0 @@
|
||||
# Color mode
|
||||
colorMode = "auto" # auto (default), light or dark
|
||||
colorModeToggler = true # true (default) or false (this setting is only relevant when colorMode = auto)
|
||||
|
||||
# Navbar
|
||||
navbarSticky = true # true (default) or false
|
||||
containerBreakpoint = "lg" # "", "sm", "md", "lg" (default), "xl", "xxl", or "fluid"
|
||||
|
||||
## Button
|
||||
navBarButton = false # false (default) or true
|
||||
navBarButtonUrl = "/docs/prologue/introduction/"
|
||||
navBarButtonText = "Get started"
|
||||
|
||||
# FlexSearch
|
||||
flexSearch = true # true (default) or false
|
||||
searchExclKinds = [] # list of page kinds to exclude from search indexing (e.g. ["home", "taxonomy", "term"] )
|
||||
searchExclTypes = [] # list of content types to exclude from search indexing (e.g. ["blog", "docs", "legal", "contributors", "categories"])
|
||||
showSearch = [] # [] (all pages, default) or homepage (optionally) and list of sections (e.g. ["homepage", "blog", "guides"])
|
||||
|
||||
## Search results
|
||||
showDate = false # false (default) or true
|
||||
showSummary = true # true (default) or false
|
||||
searchLimit = 5 # 0 (no limit, default) or natural number
|
||||
|
||||
# Global alert
|
||||
alert = false # false (default) or true
|
||||
alertDismissable = true # true (default) or false
|
||||
alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/example-post/">Doks version 1.0 just shipped!</a>'
|
||||
|
||||
# Bootstrap
|
||||
bootstrapJavascript = false # false (default) or true
|
||||
|
||||
# Nav
|
||||
sectionNav = ["docs"] # ["docs"] (default) or list of sections (e.g. ["docs", "guides"])
|
||||
toTopButton = false # false (default) or true
|
||||
breadcrumbTrail = false # false (default) or true
|
||||
headlineHash = true # true (default) or false
|
||||
scrollSpy = true # true (default) or false
|
||||
|
||||
# Multilingual
|
||||
multilingualMode = false # false (default) or true
|
||||
showMissingLanguages = true # whether or not to show untranslated languages in the language menu; true (default) or false
|
||||
|
||||
# Versioning
|
||||
docsVersioning = false # false (default) or true
|
||||
docsVersion = "1.0"
|
||||
|
||||
# UX
|
||||
headerBar = false # false (default) or true
|
||||
backgroundDots = true # true (default) or false
|
||||
|
||||
# Homepage
|
||||
sectionFooter = false # false (default) or true
|
||||
|
||||
# Blog
|
||||
relatedPosts = false # false (default) or true
|
||||
|
||||
# Footer
|
||||
footer = "Brought to you by <a class=\"text-muted\" href=\"https://gethyas.com/\">Hyas</a>"
|
||||
|
||||
# KaTex
|
||||
katex = false
|
||||
|
||||
# Repository
|
||||
editPage = false # false (default) or true
|
||||
lastMod = false # false (default) or true
|
||||
repoHost = "GitHub" # GitHub (default), Gitea, GitLab, Bitbucket, or BitbucketServer
|
||||
docsRepo = "https://github.com/h-enk/doks"
|
||||
docsRepoBranch = "main" # main (default), master, or <branch name>
|
||||
docsRepoSubPath = "" # "" (none, default) or <sub path>
|
||||
|
||||
[menu]
|
||||
[menu.section]
|
||||
auto = true # true (default) or false
|
||||
collapsibleSidebar = true # true (default) or false
|
||||
|
||||
# SCSS
|
||||
# backGround = "yellowgreen"
|
||||
|
||||
# Colors
|
||||
|
||||
## Dark theme
|
||||
# textDark = "#dee2e6" # "#dee2e6" (default), "#dee2e6" (orignal), or custom color
|
||||
# accentDark = "#5d2f86" # "#5d2f86" (default), "#5d2f86" (original), or custom color
|
||||
|
||||
## Light theme
|
||||
# textLight = "#1d2d35" # "#1d2d35" (default), "#1d2d35" (orignal), or custom color
|
||||
# accentLight = "#8ed6fb" # "#8ed6fb" (default), "#8ed6fb" (orignal), or custom color
|
@ -1 +0,0 @@
|
||||
# See .config/_default/params.toml
|
@ -1 +0,0 @@
|
||||
# See .config/_default/params.toml
|
@ -1 +0,0 @@
|
||||
# See .config/_default/params.toml
|
@ -5,6 +5,8 @@
|
||||
[en.params]
|
||||
languageISO = "EN"
|
||||
languageTag = "en-US"
|
||||
footer = 'Brought to you by <a class="text-muted" href="https://gethyas.com/">Hyas</a>'
|
||||
alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/example-post/">Doks version 1.0 just shipped!</a>'
|
||||
|
||||
[de]
|
||||
languageName = "German"
|
||||
@ -13,6 +15,8 @@
|
||||
[de.params]
|
||||
languageISO = "DE"
|
||||
languageTag = "de-DE"
|
||||
footer = 'Gebaut mit <a class="text-muted" href="https://gethyas.com/">Hyas</a>'
|
||||
alertText = 'Neue Version ist da! <a class="alert-link stretched-link" href="https://getdoks.org/blog/doks-v0.5/">Doks v0.5</a>'
|
||||
|
||||
[nl]
|
||||
languageName = "Nederlands"
|
||||
@ -24,5 +28,5 @@
|
||||
titleAddition = "Modern documentatie-thema"
|
||||
description = "Doks is een Hugo-thema waarmee je moderne documentatie-websites kunt bouwen die veilig, snel en klaar voor SEO zijn — standaard."
|
||||
titleHome = "Doks thema"
|
||||
footer = "Mogelijk gemaakt door <a href=\"https://www.netlify.com/\">Netlify</a>, <a href=\"https://gohugo.io/\">Hugo</a>, en <a href=\"https://getdoks.org/\">Doks</a>"
|
||||
alertText = "Introductie van het Doks-kinderthema, verschillende DX + UX-updates en meer! <a class=\"alert-link stretched-link\" href=\"https://getdoks.org/blog/doks-v0.2/\">Bekijk Doks v0.2</a>"
|
||||
footer = 'Mogelijk gemaakt door <a href="https://www.netlify.com/">Netlify</a>, <a href="https://gohugo.io/">Hugo</a>, en <a href="https://getdoks.org/">Doks</a>'
|
||||
alertText = 'Introductie van het Doks-kinderthema, verschillende DX + UX-updates en meer! <a class="alert-link stretched-link" href="https://getdoks.org/blog/doks-v0.2/">Bekijk Doks v0.2</a>'
|
||||
|
@ -1,53 +1,28 @@
|
||||
# mounts
|
||||
## archetypes
|
||||
[[mounts]]
|
||||
source = "config/_default/hyas"
|
||||
target = "data"
|
||||
source = "node_modules/@hyas/doks-core/archetypes"
|
||||
target = "archetypes"
|
||||
|
||||
[[mounts]]
|
||||
source = "archetypes"
|
||||
target = "archetypes"
|
||||
|
||||
## assets
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/core/assets"
|
||||
target = "assets"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/core/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/seo/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/images/assets"
|
||||
target = "assets"
|
||||
excludeFiles = "/scss/**.scss"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/images/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/archetypes"
|
||||
target = "archetypes"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/assets"
|
||||
target = "assets"
|
||||
excludeFiles = ["scss/common/_variables-custom.scss", "scss/common/_custom.scss"]
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/i18n"
|
||||
target = "i18n"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/static"
|
||||
target = "static"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/flexsearch"
|
||||
target = "assets/js/vendor/flexsearch"
|
||||
@ -65,45 +40,66 @@
|
||||
target = "assets/svgs/tabler-icons"
|
||||
|
||||
[[mounts]]
|
||||
source = "assets/svgs"
|
||||
target = "assets/svgs"
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
|
||||
## content
|
||||
[[mounts]]
|
||||
source = "content"
|
||||
target = "content"
|
||||
|
||||
## data
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "config/_default/hyas"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "data"
|
||||
target = "data"
|
||||
|
||||
## i18n
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/i18n"
|
||||
target = "i18n"
|
||||
|
||||
[[mounts]]
|
||||
source = "i18n"
|
||||
target = "i18n"
|
||||
|
||||
## layouts
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/core/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/seo/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/images/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/inline-svg/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "themes/my-doks-theme/assets"
|
||||
target = "assets"
|
||||
|
||||
[[mounts]]
|
||||
source = "themes/my-doks-theme/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "archetypes"
|
||||
target = "archetypes"
|
||||
|
||||
[[mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
|
||||
[[mounts]]
|
||||
source = "content"
|
||||
target = "content"
|
||||
|
||||
[[mounts]]
|
||||
source = "data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "i18n"
|
||||
target = "i18n"
|
||||
|
||||
[[mounts]]
|
||||
source = "layouts"
|
||||
target = "layouts"
|
||||
|
||||
## static
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/static"
|
||||
target = "static"
|
||||
|
||||
[[mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
||||
target = "static"
|
134
config/_default/params.toml
Normal file
134
config/_default/params.toml
Normal file
@ -0,0 +1,134 @@
|
||||
# Hugo
|
||||
title = "My Docs"
|
||||
description = "Congrats on setting up a new Doks project!"
|
||||
images = ["cover.png"]
|
||||
|
||||
# Doks (@hyas/doks-core)
|
||||
[doks]
|
||||
# Color mode
|
||||
colorMode = "auto" # auto (default), light or dark
|
||||
colorModeToggler = true # true (default) or false (this setting is only relevant when colorMode = auto)
|
||||
|
||||
# Navbar
|
||||
navbarSticky = true # true (default) or false
|
||||
containerBreakpoint = "lg" # "", "sm", "md", "lg" (default), "xl", "xxl", or "fluid"
|
||||
|
||||
## Button
|
||||
navBarButton = false # false (default) or true
|
||||
navBarButtonUrl = "/docs/prologue/introduction/"
|
||||
navBarButtonText = "Get started"
|
||||
|
||||
# FlexSearch
|
||||
flexSearch = true # true (default) or false
|
||||
searchExclKinds = [] # list of page kinds to exclude from search indexing (e.g. ["home", "taxonomy", "term"] )
|
||||
searchExclTypes = [] # list of content types to exclude from search indexing (e.g. ["blog", "docs", "legal", "contributors", "categories"])
|
||||
showSearch = [] # [] (all pages, default) or homepage (optionally) and list of sections (e.g. ["homepage", "blog", "guides"])
|
||||
|
||||
## Search results
|
||||
showDate = false # false (default) or true
|
||||
showSummary = true # true (default) or false
|
||||
searchLimit = 99 # 0 (no limit, default) or natural number
|
||||
|
||||
# Global alert
|
||||
alert = false # false (default) or true
|
||||
alertDismissable = true # true (default) or false
|
||||
|
||||
# Bootstrap
|
||||
bootstrapJavascript = false # false (default) or true
|
||||
|
||||
# Nav
|
||||
sectionNav = ["docs"] # ["docs"] (default) or list of sections (e.g. ["docs", "guides"])
|
||||
toTopButton = false # false (default) or true
|
||||
breadcrumbTrail = false # false (default) or true
|
||||
headlineHash = true # true (default) or false
|
||||
scrollSpy = true # true (default) or false
|
||||
|
||||
# Multilingual
|
||||
multilingualMode = false # false (default) or true
|
||||
showMissingLanguages = true # whether or not to show untranslated languages in the language menu; true (default) or false
|
||||
|
||||
# Versioning
|
||||
docsVersioning = false # false (default) or true
|
||||
docsVersion = "1.0"
|
||||
|
||||
# UX
|
||||
headerBar = false # true (default) or false
|
||||
backgroundDots = true # true (default) or false
|
||||
|
||||
# Homepage
|
||||
sectionFooter = false # false (default) or true
|
||||
|
||||
# Blog
|
||||
relatedPosts = false # false (default) or true
|
||||
imageList = true # true (default) or false
|
||||
imageSingle = true # true (default) or false
|
||||
|
||||
# KaTex
|
||||
katex = false
|
||||
|
||||
# Repository
|
||||
editPage = false # false (default) or true
|
||||
lastMod = false # false (default) or true
|
||||
repoHost = "GitHub" # GitHub (default), Gitea, GitLab, Bitbucket, or BitbucketServer
|
||||
docsRepo = "https://github.com/h-enk/doks"
|
||||
docsRepoBranch = "main" # main (default), master, or <branch name>
|
||||
docsRepoSubPath = "" # "" (none, default) or <sub path>
|
||||
|
||||
# SCSS colors
|
||||
# backGround = "yellowgreen"
|
||||
## Dark theme
|
||||
# textDark = "#dee2e6" # "#dee2e6" (default), "#dee2e6" (orignal), or custom color
|
||||
# accentDark = "#5d2f86" # "#5d2f86" (default), "#5d2f86" (original), or custom color
|
||||
## Light theme
|
||||
# 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
|
||||
|
||||
# Debug
|
||||
[render_hooks.image]
|
||||
errorLevel = 'ignore' # ignore (default), warning, or error (fails the build)
|
||||
|
||||
[render_hooks.link]
|
||||
errorLevel = 'ignore' # ignore (default), warning, or error (fails the build)
|
||||
highlightBroken = false # true or false (default)
|
||||
|
||||
# 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]
|
||||
|
||||
# Inline SVG (@hyas/inline-svg)
|
||||
[inline_svg]
|
||||
iconSetDir = "tabler-icons" # "tabler-icons" (default)
|
||||
|
||||
# SEO (@hyas/seo)
|
||||
[seo]
|
||||
[seo.title]
|
||||
separator = " | "
|
||||
suffix = ""
|
||||
[seo.favicons]
|
||||
sizes = []
|
||||
icon = "favicon.png" # favicon.png (default)
|
||||
svgIcon = "favicon.svg" # favicon.svg (default)
|
||||
maskIcon = "mask-icon.svg" # mask-icon.svg (default)
|
||||
maskIconColor = "white" # white (default)
|
||||
[seo.schemas]
|
||||
type = "Organization" # Organization (default) or Person
|
||||
logo = "favicon-512x512.png" # Logo of Organization — favicon-512x512.png (default)
|
||||
name = "Hyas" # Name of Organization or Person
|
||||
sameAs = [] # E.g. ["https://github.com/gethyas/hyas", "https://fosstodon.org/@hyas"]
|
||||
images = ["cover.png"] # ["cover.png"] (default)
|
||||
article = [] # Article sections
|
||||
newsArticle = [] # NewsArticle sections
|
||||
blogPosting = ["blog"] # BlogPosting sections
|
||||
product = [] # Product sections
|
@ -1,67 +0,0 @@
|
||||
# Images (@hyas/images)
|
||||
image:
|
||||
## General
|
||||
type: page # page (default) or global
|
||||
widths: [600, 900, 1300] # [600, 900, 1300] (default)
|
||||
densities: [1,2] # [1,2] (default)
|
||||
formats: [original, webp] # [original, webp] (default)
|
||||
provider: null # null (default) or netlify
|
||||
loading: lazysizes # auto (default), lazy, or lazysizes
|
||||
class: "img-fluid blur-up" # img-fluid (default)
|
||||
output: picture # picture (default), figure, or img
|
||||
noscript: false # false (default) or true
|
||||
|
||||
## Placeholder
|
||||
placeholder: lqip # null (default), lqip, dominant, or [black, [gray-100..gray-900], white]
|
||||
lqip_div_factor: 5 # 5 (default)
|
||||
lqip_blur_amount: 5 # 5 (default)
|
||||
gif_div_factor: 10 # 10 (default)
|
||||
|
||||
## Figure
|
||||
target: "_blank" # _blank (default)
|
||||
rel: "noopener, noreferrer" # noopener, noreferrer (default)
|
||||
figure_class: "figure" # figure (default)
|
||||
figure_image_class: "figure-img img-fluid blur-up" # "figure-img img-fluid" (default)
|
||||
figcaption_class: figure-caption # figure-caption (default)
|
||||
figcaption_title_h: 4 # 4 (default)
|
||||
attr_link_target: "_blank" # _blank (default)
|
||||
attr_link_rel: "noopener, noreferrer" # noopener, noreferrer (default)
|
||||
|
||||
## Render hook
|
||||
render_hook: true # false (default) or true
|
||||
render_hook_wrapper_class: img-wrapper # img-wrapper (default)
|
||||
|
||||
## Shortcode
|
||||
shortcode_wrapper_class: img-wrapper # img-wrapper (default)
|
||||
|
||||
## Debugging
|
||||
suppress_width_warning: false # false (default) or true
|
||||
debug: false # false (default) or true
|
||||
|
||||
# SEO (@hyas/seo)
|
||||
seo:
|
||||
description: ""
|
||||
generate:
|
||||
title: true
|
||||
meta: true
|
||||
twitter: true
|
||||
og: true
|
||||
jsonld:
|
||||
article: true
|
||||
breadcrumbs: true
|
||||
title_tag:
|
||||
separator: "|"
|
||||
home_text: ""
|
||||
og_article_types: [post, posts, blog, news, article, articles, event, events, course, courses]
|
||||
jsonld_article_types: [article, articles]
|
||||
jsonld_news_article_types: [news, updates]
|
||||
jsonld_blog_posting_types: [post, posts, blog]
|
||||
image: "/images/hyas-schema-image.png"
|
||||
private: false
|
||||
|
||||
# Inline SVG (@hyas/inline-svg)
|
||||
inline_svg:
|
||||
icon_set_dir: "tabler-icons" # tabler-icons (default)
|
||||
|
||||
# mainSections
|
||||
mainSections: [docs]
|
Reference in New Issue
Block a user