Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
fixes #143
  • Loading branch information
3nids authored Jul 12, 2024
1 parent a98fa20 commit bfdff8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/make_api_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ def ltr_tag(v):
current_stable = cfg["current_stable"]
current_ltr = cfg["current_ltr"]
current_stable_minor = int(current_stable.split(".")[1]) + 2 # '3.38' => 40
old_versions_links = ", ".join(
old_versions_links = ", ".join(reversed(
[
f"`3.{v} <https://github.com/qgis/pyqgis/releases/download/3.{v}/3.{v}.zip>`_"
f"`3.{v} <https://github.com/qgis/pyqgis-api-docs-builder/releases/download/3.{v}/pyqgis-docs-3.{v}.zip>`_"
for v in range(0, current_stable_minor, 2)
]
)
))


# Make sure :numbered: is only specified in the top level index - see
Expand Down

0 comments on commit bfdff8e

Please sign in to comment.