This is an automated email from the ASF dual-hosted git repository.
xiaokang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar-website.git
The following commit(s) were added to refs/heads/main by this push:
new 16df407 feat(python): add python docs (#56)
16df407 is described below
commit 16df4076a5bab5909dfb3892f37a38245ade33d2
Author: Xiaokang Yang <[email protected]>
AuthorDate: Tue Nov 11 11:23:31 2025 +0800
feat(python): add python docs (#56)
* add python docs
* add python docs dependencies
---
.github/workflows/deploy.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++
.github/workflows/devdoc.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index c91b0c0..c312798 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -144,6 +144,43 @@ jobs:
name: pyspark-docs
path: ./pyspark/docs
+ build-python-docs:
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ repository: apache/incubator-graphar
+ ref: main
+ - name: Install dependencies
+ run: |
+ # install the latest arrow deb to test arrow
+ wget -c https://apache.jfrog.io/artifactory/arrow/"$(lsb_release
--id --short | tr 'A-Z' 'a-z')"/apache-arrow-apt-source-latest-$(lsb_release
--codename --short).deb \
+ -P /tmp/
+ sudo apt-get install -y
/tmp/apache-arrow-apt-source-latest-"$(lsb_release --codename --short)".deb
+ sudo apt-get update -y
+ sudo apt install -y libarrow-dev=17.0.0-1 \
+ libarrow-dataset-dev=17.0.0-1 \
+ libarrow-acero-dev=17.0.0-1 \
+ libparquet-dev=17.0.0-1
+ sudo apt-get install -y ccache libcurl4-openssl-dev
+ - name: Install Poetry
+ working-directory: python
+ run: |
+ yes | sudo python3 -m pip install poetry --quiet
+ poetry env use python3
+
+ - name: Build python Docs
+ working-directory: python
+ run: |
+ make install_docs
+ make docs
+
+ - name: Upload docs
+ uses: actions/upload-artifact@v4
+ with:
+ name: python-docs
+ path: ./python/docs
+
deploy:
runs-on: ubuntu-22.04
needs:
@@ -151,6 +188,7 @@ jobs:
- build-java-doc
- build-spark-docs
- build-pyspark-docs
+ - build-python-docs
steps:
- uses: actions/checkout@v4
@@ -205,6 +243,12 @@ jobs:
name: pyspark-docs
path: ./static/docs/pyspark
+ - name: Download python docs
+ uses: actions/download-artifact@v4
+ with:
+ name: python-docs
+ path: ./static/docs/python
+
- name: Install dependencies
run: pnpm install
diff --git a/.github/workflows/devdoc.yml b/.github/workflows/devdoc.yml
index f65c665..bdce23a 100644
--- a/.github/workflows/devdoc.yml
+++ b/.github/workflows/devdoc.yml
@@ -143,6 +143,43 @@ jobs:
name: pyspark-docs
path: ./pyspark/docs
+ build-python-docs:
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ repository: apache/incubator-graphar
+ ref: main
+ - name: Install dependencies
+ run: |
+ # install the latest arrow deb to test arrow
+ wget -c https://apache.jfrog.io/artifactory/arrow/"$(lsb_release
--id --short | tr 'A-Z' 'a-z')"/apache-arrow-apt-source-latest-$(lsb_release
--codename --short).deb \
+ -P /tmp/
+ sudo apt-get install -y
/tmp/apache-arrow-apt-source-latest-"$(lsb_release --codename --short)".deb
+ sudo apt-get update -y
+ sudo apt install -y libarrow-dev=17.0.0-1 \
+ libarrow-dataset-dev=17.0.0-1 \
+ libarrow-acero-dev=17.0.0-1 \
+ libparquet-dev=17.0.0-1
+ sudo apt-get install -y ccache libcurl4-openssl-dev
+ - name: Install Poetry
+ working-directory: python
+ run: |
+ yes | sudo python3 -m pip install poetry --quiet
+ poetry env use python3
+
+ - name: Build python Docs
+ working-directory: python
+ run: |
+ make install_docs
+ make docs
+
+ - name: Upload docs
+ uses: actions/upload-artifact@v4
+ with:
+ name: python-docs
+ path: ./python/docs
+
devdocs:
name: Fetch and update dev docs
needs:
@@ -150,6 +187,7 @@ jobs:
- build-java-doc
- build-spark-docs
- build-pyspark-docs
+ - build-python-docs
if: github.repository == 'apache/incubator-graphar-website'
runs-on: ubuntu-22.04
steps:
@@ -206,6 +244,12 @@ jobs:
name: pyspark-docs
path: ./static/docs/pyspark
+ - name: Download python docs
+ uses: actions/download-artifact@v4
+ with:
+ name: python-docs
+ path: ./static/docs/python
+
- name: Install dependencies
run: pnpm install
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]