Files
docker-docs/netlify.toml
David Karlsson d0128a8c82 hack: resolve links in the markdown output
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>
2026-01-23 12:43:37 +01:00

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"