diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6dbfe0ef0..c5a770eab 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -48,9 +48,9 @@ jobs: sphinx-build docs/source docs/build -b dirhtml # Get version from pyproject.toml. - - name: Override subdirectory to `latest/` for pushes + - name: Override subdirectory to `main/` for pushes run: | - echo "DOCS_SUBDIR=latest" >> $GITHUB_ENV + echo "DOCS_SUBDIR=main" >> $GITHUB_ENV if: github.event_name == 'push' # Deploy to version-dependent subdirectory. diff --git a/docs/source/_templates/sidebar/brand.html b/docs/source/_templates/sidebar/brand.html index a5f764324..602d91e39 100644 --- a/docs/source/_templates/sidebar/brand.html +++ b/docs/source/_templates/sidebar/brand.html @@ -54,7 +54,7 @@ .reverse(); console.log(versions); let htmlString = "