This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/main by this push:
new 29c2918 [docs][release] Build 0.1 docs in GitHub Action (#259)
29c2918 is described below
commit 29c291850ac72421e6775d3c665e24fb5f56b28c
Author: Eugene <[email protected]>
AuthorDate: Thu Oct 9 15:33:29 2025 +0800
[docs][release] Build 0.1 docs in GitHub Action (#259)
---
.github/workflows/docs.yml | 5 ++++-
docs/config.toml | 4 +++-
docs/layouts/partials/docs/inject/content-before.html | 4 ++--
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 9af4164..19e6538 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -31,6 +31,7 @@ jobs:
matrix:
branch:
- main
+ - release-0.1
steps:
- uses: actions/checkout@v3
@@ -44,7 +45,9 @@ jobs:
echo "flink_branch=${currentBranch}" >> ${GITHUB_ENV}
if [ "${currentBranch}" = "main" ]; then
- echo "flink_alias=release-0.1" >> ${GITHUB_ENV}
+ echo "flink_alias=release-0.2" >> ${GITHUB_ENV}
+ elif [ "${currentBranch}" = "release-0.1" ]; then
+ echo "flink_alias=latest" >> ${GITHUB_ENV}
fi
- name: Build documentation
diff --git a/docs/config.toml b/docs/config.toml
index f411366..73db0e2 100644
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -56,7 +56,9 @@ pygmentsUseClasses = true
["Project Homepage", "//flink.apache.org"],
]
- PreviousDocs = []
+ PreviousDocs = [
+ ["0.1", "http://nightlies.apache.org/flink/flink-agents-docs-release-0.1"],
+ ]
[markup]
[markup.goldmark.renderer]
diff --git a/docs/layouts/partials/docs/inject/content-before.html
b/docs/layouts/partials/docs/inject/content-before.html
index e1d5b24..ba59052 100644
--- a/docs/layouts/partials/docs/inject/content-before.html
+++ b/docs/layouts/partials/docs/inject/content-before.html
@@ -22,14 +22,14 @@ under the License.
{{ if $.Site.Params.ShowOutDatedWarning }}
<article class="markdown">
<blockquote style="border-color:#f66">
- {{ markdownify "This documentation is for an out-of-date version of
Apache Flink Agents. We recommend you use the latest [stable
version](https://nightlies.apache.org/flink/flink-agents-docs-stable/)."}}
+ {{ markdownify "This documentation is for an out-of-date version of
Apache Flink Agents. We recommend you use the [latest
version](https://nightlies.apache.org/flink/flink-agents-docs-latest/)."}}
</blockquote>
</article>
{{ end }}
{{ if (not $.Site.Params.IsStable) }}
<article class="markdown">
<blockquote style="border-color:#f66">
- {{ markdownify "This documentation is for an unreleased version of
Apache Flink Agents. It is currently used for testing the Flink Agents website.
Many documents are not yet available, so we recommend checking them after the
official release of Flink Agents."}}
+ {{ markdownify "This documentation is for an unreleased version of
Apache Flink Agents. We recommend you use the [latest
version](https://nightlies.apache.org/flink/flink-agents-docs-latest/)."}}
</blockquote>
</article>
{{ end }}