Skip to content

Commit

Permalink
Replace hugo-theme-docdock with hextra
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Sep 4, 2024
1 parent b601168 commit 68e0e79
Show file tree
Hide file tree
Showing 354 changed files with 65 additions and 41,438 deletions.
78 changes: 64 additions & 14 deletions shortbread-website/config.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,72 @@
baseURL = ""
languageCode = "en-us"
baseURL = "https://shortbread-tiles.org/"
title = "Shortbread"
theme = "hugo-theme-docdock"
pygmentsCodeFences = true
pygmentsStyle = "monokailight"

defaultContentLanguage = "en"
defaultContentLanguageInSubdir= false
enableMissingTranslationPlaceholders = false
theme = "hextra"
enableRobotsTXT = false
enableGitInfo = true
enableInlineShortcodes = true

[outputs]
home = [ "HTML" ]
page = [ "HTML" ]
section = [ "HTML", "RSS" ]

[languages.en]
languageName = "English"
weight = 1
title = "Shortbread"

[markup.goldmark.renderer]
unsafe = true

[markup.highlight]
noClasses = false

[[menu.main]]
name = "Search"
weight = 5

[menu.main.params]
type = "search"

[params]
ordersectionsby = "weight"
description = "A free & simple Vector Tile schema for OpenStreetMap"
displayUpdatedDate = false
dateFormat = "January 2, 2006"

[outputs]
home = [ "HTML", "RSS", "JSON" ]
[params.navbar]
displayTitle = true
displayLogo = true
width = "normal"

[markup.goldmark.renderer]
unsafe = true # Allow HTML in Markdown
[params.navbar.logo]
path = "/shortbread_logo.svg"
dark = "/shortbread_logo.svg"

[params.page]
width = "normal"

[params.theme]
default = "light"
displayToggle = false

[params.footer]
enable = true
displayCopyright = true
displayPoweredBy = false
width = "normal"

[params.search]
enable = true
type = "flexsearch"

[params.search.flexsearch]
index = "content"
tokenize = "forward"

[params.editURL]
enable = true
base = "https://github.com/shortbread-tiles/shortbread-docs/edit/main/shortbread-website/content"

[params.highlight.copy]
enable = true
display = "hover"
2 changes: 1 addition & 1 deletion shortbread-website/content/schema/1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title = "Vector Tile Schema 1.0"
linkTitle = "1.0"
description = "This page describes the layers of the Shortbread vector schema and their contents as of version 1.0"
#{{% toc /%}}
+++

{{% toc /%}}

## About

Expand Down
23 changes: 0 additions & 23 deletions shortbread-website/themes/hugo-theme-docdock/.vscode/tasks.json

This file was deleted.

22 changes: 0 additions & 22 deletions shortbread-website/themes/hugo-theme-docdock/LICENSE.md

This file was deleted.

129 changes: 0 additions & 129 deletions shortbread-website/themes/hugo-theme-docdock/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions shortbread-website/themes/hugo-theme-docdock/_prose.yml

This file was deleted.

This file was deleted.

46 changes: 0 additions & 46 deletions shortbread-website/themes/hugo-theme-docdock/archetypes/slide.md

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 68e0e79

Please sign in to comment.