Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion config/_default/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,17 @@ disableKinds:
- robotsTXT
- RSS
#- section
- sitemap
#- sitemap
- taxonomy
- term


enableGitInfo: true

outputs:
page: [HTML, markdown]
section: [HTML, markdown]

sitemap:
filename: "sitemap.xml"
priority: 0.75
Expand All @@ -67,6 +71,11 @@ params:
# Enable Lunr.js offline search
offlineSearch: true

# Optional one-sentence summary for /{lang}/documentation/llms.txt (AI agents).
# Default: "Documentation for <site.Title>."
# llms:
# summary: "..."

# Global relevant links.
links:

Expand Down
4 changes: 4 additions & 0 deletions content/documentation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ params:
no_list: true
outputs:
- HTML
- markdown
- search
- llms
- corpus
- print
cascade:
params:
simple_list: true
Expand Down
4 changes: 4 additions & 0 deletions content/documentation/_index.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ params:
no_list: true
outputs:
- HTML
- markdown
- search
- llms
- corpus
- print
cascade:
params:
simple_list: true
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/deckhouse/website-delivery-kit

// replace github.com/deckhouse/hugo-web-product-module => /hugo-web-product-module
// replace github.com/deckhouse/hugo-web-product-module => ../hugo-web-product-module

go 1.24.2


require github.com/deckhouse/hugo-web-product-module v0.1.23 // indirect
require github.com/deckhouse/hugo-web-product-module v0.1.24 // indirect
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/deckhouse/hugo-web-product-module v0.1.23 h1:tgadyMP55nKQ6SS1ae9dNO+vwOJB8TZi7IaWymdxg6o=
github.com/deckhouse/hugo-web-product-module v0.1.23/go.mod h1:iLVlLSCkbOoi7RjYm5RjwAQi+Whs6DjSumhaH1GBjqw=
github.com/deckhouse/hugo-web-product-module v0.1.24 h1:UUsgCDrFOkVdGuIqENt+/tUTtWbgE6Hr4rn5kqiYVgQ=
github.com/deckhouse/hugo-web-product-module v0.1.24/go.mod h1:iLVlLSCkbOoi7RjYm5RjwAQi+Whs6DjSumhaH1GBjqw=
2 changes: 2 additions & 0 deletions werf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ final: false
shell:
setup:
- hugo -s /src -d /out --minify --enableGitInfo=false
- mv -f /out/ru/sitemap.xml /out/ru/documentation/sitemap.xml
- mv -f /out/en/sitemap.xml /out/en/documentation/sitemap.xml
git:
- add: /
to: /src
Expand Down
Loading