From 447935e0508bbbb1788282b3b0d3dd26f2f6e390 Mon Sep 17 00:00:00 2001 From: rockyyin Date: Fri, 4 Sep 2026 16:41:42 +0800 Subject: [PATCH 1/3] docs: mount lance-flink docs into integrations site Add LANCE_FLINK_REPO to make-full-website.sh so the lance-flink connector docs (docs/src/) are aggregated under integrations/flink, following the existing lance-spark / lance-trino pattern. --- docs/make-full-website.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/make-full-website.sh b/docs/make-full-website.sh index 414b3831fb0..1cd8df05847 100755 --- a/docs/make-full-website.sh +++ b/docs/make-full-website.sh @@ -14,6 +14,7 @@ Override any repo path with the matching environment variable: LANCE_DUCKDB_REPO LANCE_HUGGINGFACE_REPO LANCE_CONTEXT_REPO + LANCE_FLINK_REPO Defaults: LANCE_NAMESPACE_REPO=$HOME/oss/lance-namespace LANCE_NAMESPACE_IMPLS_REPO=$HOME/oss/lance-namespace-impls @@ -23,6 +24,7 @@ Defaults: LANCE_DUCKDB_REPO=$HOME/oss/lance-duckdb LANCE_HUGGINGFACE_REPO=$HOME/oss/lance-huggingface LANCE_CONTEXT_REPO=$HOME/oss/lance-context + LANCE_FLINK_REPO=$HOME/oss/lance-flink EOF } @@ -63,6 +65,7 @@ trino_repo_input=${LANCE_TRINO_REPO:-$HOME/oss/lance-trino} duckdb_repo_input=${LANCE_DUCKDB_REPO:-$HOME/oss/lance-duckdb} huggingface_repo_input=${LANCE_HUGGINGFACE_REPO:-$HOME/oss/lance-huggingface} context_repo_input=${LANCE_CONTEXT_REPO:-$HOME/oss/lance-context} +flink_repo_input=${LANCE_FLINK_REPO:-$HOME/oss/lance-flink} copy_docs_dir() { local source_dir="$1" @@ -138,6 +141,7 @@ trino_repo=$(resolve_repo_dir "$trino_repo_input") duckdb_repo=$(resolve_repo_dir "$duckdb_repo_input") huggingface_repo=$(resolve_repo_dir "$huggingface_repo_input") context_repo=$(resolve_repo_dir "$context_repo_input") +flink_repo=$(resolve_repo_dir "$flink_repo_input") "$script_dir/clean-full-website.sh" @@ -275,6 +279,12 @@ else warn_missing_repo "Lance Context docs" "$context_repo/docs/src" fi +if copy_docs_dir "$flink_repo/docs/src" "$docs_src/integrations/flink"; then + integration_entries+=(" - Apache Flink: flink") +else + warn_missing_repo "Lance Flink docs" "$flink_repo/docs/src" +fi + { echo "nav:" for entry in "${integration_entries[@]}"; do @@ -319,6 +329,10 @@ if copy_file_if_exists "$context_repo/CONTRIBUTING.md" "$docs_src/community/proj project_entries+=(" - Lance Context: context.md") fi +if copy_file_if_exists "$flink_repo/CONTRIBUTING.md" "$docs_src/community/project-specific/flink.md"; then + project_entries+=(" - Lance Flink: flink.md") +fi + { echo "nav:" for entry in "${project_entries[@]}"; do From 91cc93197c2f3658eb4cd8822d57a1b36e7bf844 Mon Sep 17 00:00:00 2001 From: rockyyin Date: Fri, 4 Sep 2026 16:53:20 +0800 Subject: [PATCH 2/3] docs: checkout lance-flink repo in docs-deploy workflow The flink docs mount added to make-full-website.sh needs the lance-flink repo checked out and LANCE_FLINK_REPO wired into the Assemble step, otherwise the build keeps the placeholder and logs a missing-repo warning. --- .github/workflows/docs-deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index aeaea0bbcba..665cd900291 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -67,6 +67,11 @@ jobs: with: repository: lance-format/lance-context path: lance-context + - name: Checkout lance-flink + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + with: + repository: lance-format/lance-flink + path: lance-flink - name: Configure Git Credentials run: | git config user.name github-actions[bot] @@ -89,6 +94,7 @@ jobs: LANCE_DUCKDB_REPO: ${{ github.workspace }}/lance-duckdb LANCE_HUGGINGFACE_REPO: ${{ github.workspace }}/lance-huggingface LANCE_CONTEXT_REPO: ${{ github.workspace }}/lance-context + LANCE_FLINK_REPO: ${{ github.workspace }}/lance-flink run: | docs/make-full-website.sh - name: Deploy From 55a6f7a1525da0868b1950e2d732792f9626af66 Mon Sep 17 00:00:00 2001 From: rockyyin Date: Mon, 7 Sep 2026 11:52:17 +0800 Subject: [PATCH 3/3] docs: add flink removals to clean-full-website.sh Complete the integration pattern by cleaning the two generated Flink paths (integrations/flink and project-specific/flink.md) so clean / rollback does not retain stale outputs, matching lance-context. --- docs/clean-full-website.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/clean-full-website.sh b/docs/clean-full-website.sh index 3ffa8ffe15b..15b8d2a85de 100755 --- a/docs/clean-full-website.sh +++ b/docs/clean-full-website.sh @@ -16,6 +16,7 @@ rm -rf "$docs_src/integrations/spark" rm -rf "$docs_src/integrations/ray" rm -rf "$docs_src/integrations/trino" rm -rf "$docs_src/integrations/context" +rm -rf "$docs_src/integrations/flink" rm -f "$docs_src/community/project-specific/.pages" rm -rf "$docs_src/community/project-specific/lance" rm -f "$docs_src/community/project-specific/namespace.md" @@ -24,6 +25,7 @@ rm -f "$docs_src/community/project-specific/ray.md" rm -f "$docs_src/community/project-specific/spark.md" rm -f "$docs_src/community/project-specific/trino.md" rm -f "$docs_src/community/project-specific/context.md" +rm -f "$docs_src/community/project-specific/flink.md" cat > "$docs_src/format/.pages" <<'EOF' nav: