Skip to content

Commit 58996b5

Browse files
authored
Fix docs version (#659)
Fetch full history of the repo for accurate version info
1 parent a484218 commit 58996b5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/doc-build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17+
with:
18+
# Fetch full history for accurate version info
19+
fetch-depth: 0
1720

1821
- name: Setup Python
1922
uses: actions/setup-python@v5

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
steps:
2727
- name: Checkout
2828
uses: actions/checkout@v4
29+
with:
30+
# Fetch full history for accurate version info
31+
fetch-depth: 0
2932
- name: Setup python
3033
uses: actions/setup-python@v5
3134
with:

0 commit comments

Comments
 (0)