jekyll(last_modified_at): fix for remote resources and data files (#15998)

* Dockerfile: add option to enforce git log history for local dev

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>

* jekyll(last_modified_at): do not override if already set with frontmatter

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>

* jekyll(last_modified_at): use data files for commands reference instead of stub file

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>

* fix broken links

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2022-10-31 09:01:42 +01:00
committed by GitHub
parent 5fe17fcd22
commit 4544982b55
6 changed files with 52 additions and 16 deletions

View File

@@ -7,11 +7,15 @@ variable "DOCS_URL" {
variable "DOCS_SITE_DIR" {
default = "_site"
}
variable "DOCS_ENFORCE_GIT_LOG_HISTORY" {
default = "0"
}
target "_common" {
args = {
JEKYLL_ENV = JEKYLL_ENV
DOCS_URL = DOCS_URL
DOCS_ENFORCE_GIT_LOG_HISTORY = DOCS_ENFORCE_GIT_LOG_HISTORY
}
no-cache-filter = ["generate"]
}