diff --git a/.github/workflows/testing-and-deployment.yml b/.github/workflows/testing-and-deployment.yml index a2e322b..7fd25da 100644 --- a/.github/workflows/testing-and-deployment.yml +++ b/.github/workflows/testing-and-deployment.yml @@ -39,10 +39,9 @@ jobs: uses: JamesIves/github-pages-deploy-action@v4.6.4 # if: startsWith(github.ref, 'refs/tags/') with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages - FOLDER: docs/build/html - CLEAN: true + branch: gh-pages + folder: docs/build/html + clean: true build_wheels: name: Build wheels on ${{ matrix.os }} diff --git a/docs/Makefile b/docs/Makefile index 5ef48ba..8513dd6 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -18,6 +18,9 @@ help: # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + @if echo "$@" | grep -q "html"; then \ + touch "$(BUILDDIR)"/html/.nojekyll; \ + fi clean: rm -rf $(BUILDDIR)/* diff --git a/docs/source/conf.py b/docs/source/conf.py index ff3ed8e..bed4372 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -65,7 +65,7 @@ } -html_static_path = ["_static"] +# html_static_path = ["_static"] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"]