diff --git a/scripts/website/build.sh b/scripts/website/build.sh index c4c8f6118f..f511a81d55 100755 --- a/scripts/website/build.sh +++ b/scripts/website/build.sh @@ -343,6 +343,9 @@ build_developer_guide_for_site() { rm -f "${WEBSITE_DIR}/static/developer-guide.html" mkdir -p "${html_out}" "${guide_dir}" "${generated_dir}" + local build_date + build_date="$(date +%Y-%m-%d)" + ( cd "${REPO_ROOT}" asciidoctor \ @@ -350,6 +353,7 @@ build_developer_guide_for_site() { -a linkcss \ -a copycss \ -a rouge-css=style \ + -a revdate="${build_date}" \ -D "${html_out}" \ -o developer-guide-full.html \ docs/developer-guide/developer-guide.asciidoc