ux: update dark mode+
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -21,7 +21,7 @@ defaultMarkdownHandler = "goldmark"
|
||||
lineAnchors = ''
|
||||
lineNoStart = 1
|
||||
lineNos = false
|
||||
lineNumbersInTable = true
|
||||
lineNumbersInTable = false
|
||||
noClasses = false
|
||||
noHl = false
|
||||
style = 'github-dark'
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
@ -50,7 +50,7 @@ repoHost = "GitHub"
|
||||
docsRepo = "https://github.com/h-enk/doks"
|
||||
docsRepoBranch = "master"
|
||||
docsRepoSubPath = ""
|
||||
editPage = false
|
||||
editPage = true
|
||||
lastMod = false
|
||||
|
||||
# Images
|
||||
|
@ -36,10 +36,14 @@ module.exports = {
|
||||
'lazyload',
|
||||
'blur-up',
|
||||
'figcaption',
|
||||
'dt',
|
||||
'dd',
|
||||
...whitelister([
|
||||
'./node_modules/@hyas/core/assets/scss/app.scss',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/common/_global.scss',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/components/_alerts.scss',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/components/_buttons.scss',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/components/_callouts.scss',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/components/_code.scss',
|
||||
// './node_modules/@hyas/doks-core/assets/scss/components/_diagrams.scss',
|
||||
'./node_modules/@hyas/doks-core/assets/scss/components/_modals.scss',
|
||||
|
Reference in New Issue
Block a user