This is an automated email from the ASF dual-hosted git repository. zhongjiajie pushed a commit to branch skip-py-docs in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
commit 417c04e49c30a5ecfdab706bb05fc00609f477fd Author: Jay Chung <[email protected]> AuthorDate: Tue Jan 20 11:49:06 2026 +0800 hotfix: tmp remove python docs build currently py docs built failed, this remove the docs build for python sdk docs error is ```log make: Entering directory '/home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/docs' Traceback (most recent call last): File "/home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/.tox/doc-build-multi/bin/sphinx-multiversion", line 9, in <module> sys.exit(main()) ^^^^^^ File "/home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/.tox/doc-build-multi/lib/python3.11/site-packages/sphinx_multiversion/main.py", line 209, in main config = load_sphinx_config( ^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/.tox/doc-build-multi/lib/python3.11/site-packages/sphinx_multiversion/main.py", line 115, in load_sphinx_config raise result TypeError: Config.read() takes 2 positional arguments but 3 were given make: *** [Makefile:44: multiversion] Error 1 make: Leaving directory '/home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/docs' doc-build-multi: 24112 C exit 2 (0.16 seconds) /home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python> make -C /home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/docs multiversion pid=12429 [tox/execute/api.py:295] doc-build-multi: 24112 W commands_post[0]> find /home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/docs -type f -name environment.pickle -exec rm -rf '{}' ';' [tox/tox_env/api.py:464] doc-build-multi: 24115 I exit 0 (0.00 seconds) /home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python> find /home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/docs -type f -name environment.pickle -exec rm -rf '{}' ';' pid=12445 [tox/execute/api.py:295] .pkg: 24115 D delete package /home/runner/work/dolphinscheduler-website/dolphinscheduler-website/swap/dolphinscheduler-sdk-python/.tox/.tmp/package/1/apache_dolphinscheduler-4.1.0.dev0.tar.gz [tox/tox_env/python/virtual_env/package/pyproject.py:232] doc-build-multi: FAIL code 2 (23.79=setup[23.15]+cmd[0.25,0.22,0.16,0.00] seconds) evaluation failed :( (23.82 seconds) Error: Process completed with exit code 2. ``` --- .github/workflows/website.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index ba0b3092e2..becb4dffa6 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -35,17 +35,17 @@ 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: +# 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: Deploy if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
