From 86232646975d4715e138e9c7f5a359626f7b174c Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Fri, 12 Jan 2024 14:51:38 +0100 Subject: [PATCH 1/6] MAINT: update ansys sphinx theme Note: this update consists in using a previous dependency (pydata-sphinx-theme) whose latest version (0.15.1) broke the side bar of the documentation page. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7cdff3c8ae8..27e3c43e030 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,7 @@ tests = [ "jsonschema", ] doc = [ - "ansys-sphinx-theme==0.12.2", + "ansys-sphinx-theme==0.13.1", "imageio==2.31.5", "imageio-ffmpeg==0.4.9", "ipython==8.13.0; python_version < '3.9'", From 1d46d20e4d44999fac2d5c9ec8bc006295d754b1 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Fri, 12 Jan 2024 15:05:54 +0100 Subject: [PATCH 2/6] CI: add update pip step --- .github/workflows/build_documentation.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 98a71cf956c..50c556077b4 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -40,6 +40,10 @@ jobs: with: python-version: 3.8 + - name: Update pip + run: | + pip install --upgrade pip + - name: Install pyaedt run: | pip install .[doc] From e7ddb23a9cbc422d2e9295cceb3b061c719b1e69 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Fri, 12 Jan 2024 15:13:04 +0100 Subject: [PATCH 3/6] WIP: test specifying ansys-sphinx-theme --- .github/workflows/build_documentation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 50c556077b4..910852f8efd 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -46,6 +46,7 @@ jobs: - name: Install pyaedt run: | + pip install ansys-sphinx-theme==0.13.1 pip install .[doc] - name: Verify pyaedt can be imported From 6e7f591036115dec7879fdfefdb9e4c37c40396c Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Fri, 12 Jan 2024 15:17:56 +0100 Subject: [PATCH 4/6] CI: change doc build python version --- .github/workflows/build_documentation.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 910852f8efd..1e7eee8c22e 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Update pip run: | @@ -46,7 +46,6 @@ jobs: - name: Install pyaedt run: | - pip install ansys-sphinx-theme==0.13.1 pip install .[doc] - name: Verify pyaedt can be imported From 9075084cc1395fb3eac924bc65ef08445c2e88b6 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Fri, 12 Jan 2024 15:20:07 +0100 Subject: [PATCH 5/6] CI: change doc build python version --- .github/workflows/build_documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 1e7eee8c22e..7c034177699 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.10 - name: Update pip run: | From 5dcac7e5312936c169df6a382f975f8aec918c38 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Fri, 12 Jan 2024 15:48:51 +0100 Subject: [PATCH 6/6] CI: fix python version --- .github/workflows/build_documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 7c034177699..b13471fbec9 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.10 + python-version: "3.10" - name: Update pip run: |