diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d765892..979a6aa 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -25,6 +25,9 @@ jobs: - name: Sphinx build run: | sphinx-multiversion docs _build + - name: Copy redirection index.html + run: | + cp docs/index.html _build/index.html - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/tags/') }} diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..bf424cf --- /dev/null +++ b/docs/index.html @@ -0,0 +1,9 @@ + + + + Redirecting to main branch + + + + + \ No newline at end of file