Skip to content

Commit 9ec7a58

Browse files
committed
Comment about comparable version numbers
1 parent a370ade commit 9ec7a58

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readthedocs/projects/version_handling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ def sort_versions(version_list):
7777
"""
7878
Take a list of Version models and return a sorted list.
7979
80+
This only considers versions with comparable version numbers.
81+
It excludes versions like "latest" and "stable".
82+
8083
:param version_list: list of Version models
8184
:type version_list: list(readthedocs.builds.models.Version)
8285

0 commit comments

Comments
 (0)