Skip to content

Commit

Permalink
config: prune more irrelevant options
Browse files Browse the repository at this point in the history
  • Loading branch information
jo3-l committed Jun 13, 2024
1 parent 46d8950 commit 89b55f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 23 deletions.
3 changes: 1 addition & 2 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ summarylength = 20 # 70 (default)

# Multilingual
defaultContentLanguage = "en"
disableLanguages = ["de", "nl"]
defaultContentLanguageInSubdir = false

copyRight = "Copyright (c) 2020-2024 Hyas"
copyRight = "Copyright (c) 2020-2024 YAGPDB documentation contributors"

[build.buildStats]
enable = true
Expand Down
27 changes: 6 additions & 21 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# Hugo
title = "YAGPDB Docs"
description = "YAGPDB documentation"
images = ["cover.png"]

# mainSections
mainSections = ["docs"]

[social]
twitter = "getdoks"

# Doks (@hyas/doks-core)
[doks]
# Color mode
Expand All @@ -19,7 +14,7 @@ mainSections = ["docs"]
navbarSticky = true # true (default) or false
containerBreakpoint = "lg" # "", "sm", "md", "lg" (default), "xl", "xxl", or "fluid"

## Button
# Button
navBarButton = false # false (default) or true
navBarButtonUrl = "/docs/prologue/introduction/"
navBarButtonText = "Get started"
Expand All @@ -31,7 +26,7 @@ mainSections = ["docs"]
showSearch = [] # [] (all pages, default) or homepage (optionally) and list of sections (e.g. ["homepage", "blog", "guides"])
indexSummary = false # true or false (default); whether to index only the `.Summary` instead of the full `.Content`; limits the respective JSON field size and thus increases loading time

## Search results
# Search results
showDate = false # false (default) or true
showSummary = true # true (default) or false
searchLimit = 99 # 0 (no limit, default) or natural number
Expand Down Expand Up @@ -71,22 +66,13 @@ mainSections = ["docs"]
imageSingle = true # true (default) or false

# Repository
editPage = false # false (default) or true
editPage = true # 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>
docsRepo = "https://github.com/botlabs-gg/yagpdb-docs-v2"
docsRepoBranch = "master" # 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
Expand Down Expand Up @@ -129,10 +115,9 @@ mainSections = ["docs"]
[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
name = "YAGPDB" # 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

0 comments on commit 89b55f1

Please sign in to comment.