mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Resolves internal links to point to the corresponding (rendered) path rather than keeping them as internal links, which wouldn't make sense to an agent/llm reading them. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
14 lines
399 B
TOML
14 lines
399 B
TOML
[build]
|
|
publish = "public"
|
|
|
|
[context.deploy-preview.environment]
|
|
NODE_VERSION = "22"
|
|
NODE_ENV = "production"
|
|
HUGO_VERSION = "0.154.2"
|
|
HUGO_ENABLEGITINFO = "true"
|
|
HUGO_ENVIRONMENT = "preview"
|
|
SECRETS_SCAN_OMIT_PATHS = "public/contribute/file-conventions/index.html"
|
|
|
|
[context.deploy-preview]
|
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && ./hack/flatten-and-resolve.js && npx pagefind@v1.3.0"
|