This is an automated email from the ASF dual-hosted git repository.
zihaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new c747e0889e Revert "hotfix: tmp remove python docs build " (#992)
c747e0889e is described below
commit c747e0889efab22b48602635d765bc2719bde21e
Author: Jay Chung <[email protected]>
AuthorDate: Tue Jan 20 15:16:28 2026 +0800
Revert "hotfix: tmp remove python docs build " (#992)
---
.github/workflows/website.yml | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml
index becb4dffa6..33ed56ae8e 100644
--- a/.github/workflows/website.yml
+++ b/.github/workflows/website.yml
@@ -35,17 +35,18 @@ jobs:
run: yarn && yarn build
# Build Python API document: from
https://github.com/apache/dolphinscheduler-sdk-python
-# - name: Set up Python
-# uses: actions/setup-python@v4
-# with:
-# python-version: 3.11
-# - name: Build Python Multiple Version Document
-# working-directory: ${{ env.PYDS_HOME }}
-# # rsync all files in directory docs/build/html/versions expect
.doctrees have sensitive data, so we need to delete it
-# run: |
-# python -m pip install --upgrade ${{ env.DEPENDENCES }}
-# python -m tox -vv -e doc-build-multi
-# rsync -av --progress --exclude .doctrees docs/build/html/versions/*
${GITHUB_WORKSPACE}/build/python
+ - name: Set up Python
+ uses: actions/setup-python@v4
+ with:
+ # need to pin 3.10 because sphinx-multiversion latest code have bug
>= 3.11
+ python-version: '3.10'
+ - name: Build Python Multiple Version Document
+ working-directory: ${{ env.PYDS_HOME }}
+ # rsync all files in directory docs/build/html/versions expect
.doctrees have sensitive data, so we need to delete it
+ run: |
+ python -m pip install --upgrade ${{ env.DEPENDENCES }}
+ python -m tox -vv -e doc-build-multi
+ rsync -av --progress --exclude .doctrees docs/build/html/versions/*
${GITHUB_WORKSPACE}/build/python
- name: Deploy
if: ${{ github.event_name == 'push' || github.event_name == 'schedule'
}}