mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
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:
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user