Skip to content

Commit 06db77c

Browse files
committed
Use sphinx>=8 and disable shallow clone in CI
It's needed to fix sphinx_last_updated_by_git in CI.
1 parent fa56c29 commit 06db77c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
1719
- name: Prepare
1820
run: |
1921
sudo apt-get update -y
@@ -24,9 +26,7 @@ jobs:
2426
- name: Gen_feature_matrix
2527
run: make feature_matrix
2628
- name: Gen_sphinx
27-
uses: ammaraskar/sphinx-action@master
28-
with:
29-
docs-folder: "docs/"
29+
run: make html
3030
- name: Deploy
3131
uses: peaceiris/actions-gh-pages@v3
3232
with:

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10+
with:
11+
fetch-depth: 0
1012
- name: Prepare
1113
run: |
1214
sudo apt-get update -y
@@ -17,9 +19,7 @@ jobs:
1719
- name: Gen_feature_matrix
1820
run: make feature_matrix
1921
- name: Gen_sphinx
20-
uses: ammaraskar/sphinx-action@master
21-
with:
22-
docs-folder: "docs/"
22+
run: make html
2323
- uses: actions/upload-artifact@v4
2424
with:
2525
name: DocumentationHTML

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sphinx>=5
1+
sphinx>=8
22
sphinx-issues
33
sphinx-notfound-page>=0.5
44
sphinx-rtd-theme

0 commit comments

Comments
 (0)