Video editing with Python
multi-version docs
Zulkoec61d5d5672d
diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.ymlindex 2055741e..42da83ae 100644--- a/.github/workflows/build-docs.yml+++ b/.github/workflows/build-docs.yml@@ -24,13 +24,25 @@ jobs:pip install -e .pip install -e .[doc]- - name: Build documentation+ - name: Fetch all tags+ run: git fetch --tags++ - name: Build current documentation+ run: |+ cd docs+ make html++ - name: Build v1.0.3 documentationrun: |+ git checkout 1.0.3cd docs- make html # This should be adjusted to match your build process (e.g., `make html` or `sphinx-build`)+ make html+ mkdir -p ../build/html/v1.0.3+ cp -r build/html/* ../build/html/v1.0.3/+ git checkout -- name: Deploy to GitHub Pagesuses: peaceiris/actions-gh-pages@v4with:github_token: ${{ secrets.GITHUB_TOKEN }}- publish_dir: ./docs/build/html/ # Ensure this matches the output directory+ publish_dir: ./build/html/ # Adjusted path since we're copying docs to root build directory