Skip to content

Commit

Permalink
update hugo config
Browse files Browse the repository at this point in the history
Signed-off-by: Avelino <[email protected]>
  • Loading branch information
avelino committed Dec 31, 2021
1 parent 8a6cae4 commit c05a112
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 39 deletions.
46 changes: 7 additions & 39 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,42 +1,10 @@
baseurl = "https://docs.prestd.com/"
languageCode = "en-us"
metadataformat = "yaml"
title = "pREST"
theme = "hugo-theme-learn"
baseURL = "https://docs.prestd.com/"
title = "prestd"
enableRobotsTXT = true
theme = "compose"
enableGitInfo = true

disqusShortname = ""
googleAnalytics = "UA-105743002-1"

[params]
name = "pREST"
description = "instant, realtime, high-performance on any Postgres application, existing or new."
github_user = "prest"
github_repo = "prest"
github_banner = true
custom_css = []
custom_js = []
highlightjs = "css/highlight.css"
favicon = "favicon.ico"
editURL = "https://github.com/prest/prest/tree/master/docs/"
showVisitedLinks = true
logo = "logo.png"
disableKinds = ["taxonomy", "taxonomyTerm"]

[outputs]
home = [ "HTML", "RSS", "JSON"]

[params.sidebar]
github_button = true
travis_button = true
coveralls_button = true
gratipay = ""
show_relations = true

[params.footer]
copyright = "[pREST](https://prestd.com/)"
show_powered_by = true

[Languages]
[Languages.en]
title = "Documentation for pREST"
weight = 1
languageName = "English"
home = ["HTML", "RSS","JSON"]
19 changes: 19 additions & 0 deletions config/_default/markup.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[goldmark]
[goldmark.renderer]
unsafe = true
[goldmark.extensions]
typographer = false
[highlight]
codeFences = true
guessSyntax = false
hl_Lines = ""
lineNoStart = 1
lineNos = true
lineNumbersInTable = false
noClasses = false
style = "monokai"
tabWidth = 2
[tableOfContents]
endLevel = 4
ordered = false
startLevel = 2
5 changes: 5 additions & 0 deletions config/_default/menus/menu.en.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# menu items
# [[main]]
# name = "prestd"
# weight = 2
# url = "prestd/"
32 changes: 32 additions & 0 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
mainSections = [] # use it for blog page section

uniqueHomePage = true # change to false to add sidebar to homepage

repo = "https://github.com/prest/prest"

time_format_blog = "Monday, January 02, 2006"
time_format_default = "January 2, 2006"
enableDarkMode = true # set to false to disable darkmode by default # user will still have the option to use dark mode

# sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
codeMaxLines = 7

# disable showing line numbers by default. Switch to `true` if you'd rather have them on.
codeLineNumbers = false

# Site logo
[logo]
lightMode = "/logo.png"
darkMode = "/logo.png"

[source]
name = "GitHub"
iconLight = "/images/github.svg"
iconDark = "/images/github.svg"
url = "https://github.com/prest/prest"

# optional
# attribution. Feel free to delete this
[author]
name = "prestd"
url = "https://prestd.com"

0 comments on commit c05a112

Please sign in to comment.