-
Notifications
You must be signed in to change notification settings - Fork 866
docs: mount lance-flink connector docs into the integrations site #8987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The two new generated outputs are not removed by Reproducer run against this headfixture=$(mktemp -d)
mkdir -p "$fixture/docs/src"
cp README.md "$fixture/docs/src/index.md"
cp CONTRIBUTING.md "$fixture/CONTRIBUTING.md"
LANCE_FLINK_REPO="$fixture" docs/make-full-website.sh
docs/clean-full-website.sh
test ! -e docs/src/integrations/flink &&
test ! -e docs/src/community/project-specific/flink.mdThe final assertion exits 1; both paths are still present.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 55a6f7a: |
||
| project_entries+=(" - Lance Flink: flink.md") | ||
| fi | ||
|
|
||
| { | ||
| echo "nav:" | ||
| for entry in "${project_entries[@]}"; do | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The production deploy never makes this source path available:
.github/workflows/docs-deploy.ymlneither checks outlance-format/lance-flinknor exportsLANCE_FLINK_REPO. On a fresh hosted runner the fallback$HOME/oss/lance-flinkis absent, so this branch only warns and the deployed site omits Flink. Please add the checkout and env wiring alongside the existing Context/Trino entries.rg -n 'lance-flink|LANCE_FLINK_REPO' .github/workflows/docs-deploy.ymlreturned no matches on this head.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 91cc931: the deploy workflow now checks out
lance-format/lance-flinkand exportsLANCE_FLINK_REPOto the assembly step.