ux: update dark mode+

This commit is contained in:
Henk Verlinde
2023-05-23 14:55:30 +02:00
parent e93a3075bc
commit 834afc3eec
37 changed files with 1630 additions and 2027 deletions

View File

@ -43,7 +43,7 @@ rel = "sitemap"
[caches]
[caches.getjson]
dir = ":cacheDir/:project"
maxAge = "10s"
maxAge = "30m"
[taxonomies]
contributor = "contributors"
@ -51,8 +51,8 @@ rel = "sitemap"
tag = "tags"
[permalinks]
blog = "/blog/:title/"
# docs = "/docs/1.0/:sections[1:]/:title/"
blog = "/blog/:slug/"
# docs = "/docs/1.0/:sections[1:]/:slug/"
[minify.tdewolff.html]
keepWhitespace = false

View File

@ -25,7 +25,7 @@ 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="/doks-version-10/">Doks version 1.0 just shipped!</a>'
alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/doks-1/">Doks version 1.0 just shipped!</a>'
# Bootstrap
bootstrapJavascript = false # false (default) or true

View File

@ -21,7 +21,7 @@ defaultMarkdownHandler = "goldmark"
lineAnchors = ''
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
lineNumbersInTable = false
noClasses = false
noHl = false
style = 'github-dark'

View File

@ -1,14 +1,14 @@
[[docs]]
name = "Prologue"
weight = 10
identifier = "prologue"
url = "/docs/prologue/"
# [[docs]]
# name = "Prologue"
# weight = 10
# identifier = "prologue"
# url = "/docs/prologue/"
[[docs]]
name = "Help"
weight = 60
identifier = "help"
url = "/docs/help/"
# [[docs]]
# name = "Help"
# weight = 60
# identifier = "help"
# url = "/docs/help/"
# [[docs]]
# name = "Lorem"
@ -30,7 +30,7 @@
[[main]]
name = "Docs"
url = "/docs/prologue/introduction/"
url = "/docs/start-here/getting-started/"
# url = "/docs/1.0/prologue/introduction/"
weight = 10

View File

@ -58,6 +58,14 @@
source = "node_modules/mermaid"
target = "assets/js/vendor/mermaid"
[[mounts]]
source = "node_modules/@tabler/icons/icons"
target = "assets/svgs/tabler-icons"
[[mounts]]
source = "node_modules/@hyas/tabler-icons/layouts"
target = "layouts"
[[mounts]]
source = "archetypes"
target = "archetypes"

View File

@ -50,7 +50,7 @@ repoHost = "GitHub"
docsRepo = "https://github.com/h-enk/doks"
docsRepoBranch = "master"
docsRepoSubPath = ""
editPage = false
editPage = true
lastMod = false
# Images