Skip to content

Commit ae1470f

Browse files
authored
docs: Keep docs for latest 1 tags (#4571)
As titled. ```bash git clone https://github.com/alibaba/GraphScope.git -b gh-pages --single-branch cd docs find v0.31.0 -type f | wc -l # 6078 find v0.30.0 -type f | wc -l #5999 find v0.29.0 -type f | wc -l # 5909 find latest -type f | wc -l # 6204 find ./reference -type f | wc -l # 4903 ```
1 parent 7a21422 commit ae1470f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sphinx_ext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
from furo.navigation import get_navigation_tree
3030

31-
# set maximum_recent_versions to 3 to avoid creating too many files, which may cause failure when uploading to cloudflare
32-
def resolve_git_tags(maximum_recent_versions=3):
31+
# set maximum_recent_versions to 1 to avoid creating too many files, which may cause failure when uploading to cloudflare
32+
def resolve_git_tags(maximum_recent_versions=1):
3333
git = shutil.which("git")
3434
if git is None:
3535
return "latest", []

0 commit comments

Comments
 (0)