diff --git a/.github/workflows/sphinx.yaml b/.github/workflows/sphinx.yaml index 2f81fae..9e9d16c 100644 --- a/.github/workflows/sphinx.yaml +++ b/.github/workflows/sphinx.yaml @@ -13,19 +13,17 @@ jobs: - name: Cache conda uses: actions/cache@v2 env: - # Increase this value to reset cache if ci/environment.yaml has not changed CACHE_NUMBER: 0 with: path: ~/conda_pkgs_dir - key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment.yaml') }} + key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('docs/environment.yaml') }} - uses: conda-incubator/setup-miniconda@v2 with: - activate-environment: xesn # Defined in ci/environment*.yml + activate-environment: xesn auto-update-conda: false - python-version: ${{ matrix.python-version }} + python-version: 3.11 environment-file: docs/environment.yaml use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly! - - uses: actions/checkout@v1 - uses: ammaraskar/sphinx-action@master with: docs-folder: "docs/" diff --git a/docs/index.rst b/docs/index.rst index db3af92..1eda0cc 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -37,5 +37,4 @@ for efficient CPU and GPU deployment. example_lazy_usage references api - Source Code