update docs about parse_version

[skip ci]
This commit is contained in:
lilydjwg 2021-07-18 21:20:20 +08:00
parent ddd99bd59f
commit 11aea624e6
1 changed files with 5 additions and 5 deletions

View File

@ -240,8 +240,8 @@ exclude_regex
sort_version_key
Sort the version string using this key function. Choose between
``parse_version`` and ``vercmp``. Default value is ``parse_version``.
``parse_version`` use ``pkg_resources.parse_version``. ``vercmp`` use
``pyalpm.vercmp``.
``parse_version`` use an old version of ``pkg_resources.parse_version``.
``vercmp`` use ``pyalpm.vercmp``.
ignored
Version strings that are explicitly ignored, separated by whitespace. This
@ -420,7 +420,7 @@ branch
use_max_tag
Set this to ``true`` to check for the max tag on Gitea. Will return the biggest one
sorted by ``pkg_resources.parse_version``. Will return the tag name instead of date.
sorted by old ``pkg_resources.parse_version``. Will return the tag name instead of date.
host
Hostname for self-hosted Gitea instance.
@ -452,7 +452,7 @@ branch
use_max_tag
Set this to ``true`` to check for the max tag on BitBucket. Will return the biggest one
sorted by ``pkg_resources.parse_version``. Will return the tag name instead of date.
sorted by old ``pkg_resources.parse_version``. Will return the tag name instead of date.
max_page
How many pages do we search for the max tag? Default is 3. This works when
@ -477,7 +477,7 @@ branch
use_max_tag
Set this to ``true`` to check for the max tag on GitLab. Will return the biggest one
sorted by ``pkg_resources.parse_version``. Will return the tag name instead of date.
sorted by old ``pkg_resources.parse_version``. Will return the tag name instead of date.
host
Hostname for self-hosted GitLab instance.