From 5d230ac47302767e7c5da9ad97300ab53f285971 Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Tue, 23 Dec 2025 14:41:53 -0800 Subject: [PATCH] ci: make sure changes in lance-namespace-impls doc is auto-updated --- .github/workflows/docs-deploy.yml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index c8c9cded0d9..b5ffaa8f670 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -67,30 +67,11 @@ jobs: - name: Copy lance-namespace-impls docs run: | # Copy implementation specs to the integrations folder - cp lance-namespace-impls/docs/src/hive2.md docs/src/format/namespace/integrations/ - cp lance-namespace-impls/docs/src/hive3.md docs/src/format/namespace/integrations/ - cp lance-namespace-impls/docs/src/iceberg.md docs/src/format/namespace/integrations/ - cp lance-namespace-impls/docs/src/polaris.md docs/src/format/namespace/integrations/ - cp lance-namespace-impls/docs/src/unity.md docs/src/format/namespace/integrations/ - cp lance-namespace-impls/docs/src/glue.md docs/src/format/namespace/integrations/ - cp lance-namespace-impls/docs/src/gravitino.md docs/src/format/namespace/integrations/ - cp lance-namespace-impls/docs/src/onelake.md docs/src/format/namespace/integrations/ - cp lance-namespace-impls/docs/src/dataproc.md docs/src/format/namespace/integrations/ + cp lance-namespace-impls/docs/src/*.md docs/src/format/namespace/integrations/ - # Generate .pages for integrations (alphabetical order) - cat > docs/src/format/namespace/integrations/.pages << 'EOF' - nav: - - Apache Gravitino: gravitino.md - - Apache Hive MetaStore V2: hive2.md - - Apache Hive MetaStore V3: hive3.md - - Apache Iceberg REST Catalog: iceberg.md - - Apache Polaris: polaris.md - - AWS Glue: glue.md - - Google Dataproc: dataproc.md - - Microsoft OneLake: onelake.md - - Unity Catalog: unity.md - - Template for New Integrations: template.md - EOF + # Copy .pages from lance-namespace-impls and append template entry + cp lance-namespace-impls/docs/src/.pages docs/src/format/namespace/integrations/.pages + echo " - Template for New Integrations: template.md" >> docs/src/format/namespace/integrations/.pages - name: Copy lance-spark docs run: | cp -r lance-spark/docs/src docs/src/integrations/spark