fix(docs-pipeline): default DOCS_GEN_DIR -> generated/<stand>/docs; document env setup + S3 via VM

This commit is contained in:
“Naeel”
2026-09-03 08:06:59 +03:00
parent 9fd7334a60
commit 9e02b696ba
2 changed files with 41 additions and 2 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ S3CFG_REGISTRY="$(resolve_root_path "$S3CFG_REGISTRY")"
TMP_DOCS_DIR=""
if [[ -n "$PROFILE_DIR" ]]; then
# ⛔ NEVER merge with docs/ — ONLY generated docs from docs_gen/<stand>/
DOCS_GEN_DIR="${DOCS_GEN_DIR:-generated/test}"
# ⛔ NEVER merge with docs/ — ONLY generated docs from generated/<stand>/docs/
DOCS_GEN_DIR="${DOCS_GEN_DIR:-generated/$(basename "$PROFILE_DIR")/docs}"
DOCS_GEN_DIR="$(resolve_root_path "$DOCS_GEN_DIR")"
if [[ -d "$DOCS_GEN_DIR" ]]; then
export MKDOCS_DOCS_DIR="$DOCS_GEN_DIR"