Skip to content

Commit

Permalink
Merge pull request #308 from qgis/redirect
Browse files Browse the repository at this point in the history
undo redirect stuff and use relative links for downloads urls
  • Loading branch information
timlinux authored Jul 6, 2024
2 parents d080569 + 51e5cb3 commit b2cae5f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
8 changes: 1 addition & 7 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -443,12 +443,6 @@ sectionPagesMenu = 'main'
url = "/resources/support/security"
weight = 190

[outputFormats.Redirects]
mediaType = "text/plain"
baseName = "_redirects"
isPlainText = true
notAlternative = true

[outputs]
home = ["HTML", "RSS", "JSON", "Redirects"]
home = ["HTML", "RSS", "JSON"]

10 changes: 5 additions & 5 deletions scripts/update-schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,11 @@ def adduid(ev, uid):
"devcite": f"https://docs.qgis.org/{ltrversion}/en/docs/developers_guide/index.html",
"userguidecite": f"https://docs.qgis.org/{ltrversion}/en/docs/user_manual/index.html",
"servercite": f"https://docs.qgis.org/{ltrversion}/en/docs/server_manual/index.html",
"apicite": f"https://qgis.org/pyqgis/{ltrversion}/index.html",
"lr_msi": f"https://qgis.org/downloads/QGIS-OSGeo4W-{lr_version}-{lr_binary}.msi",
"lr_sha": f"https://qgis.org/downloads/QGIS-OSGeo4W-{lr_version}-{lr_binary}.sha256sum",
"ltr_msi": f"https://qgis.org/downloads/QGIS-OSGeo4W-{ltr_version}-{ltr_binary}.msi",
"ltr_sha": f"https://qgis.org/downloads/QGIS-OSGeo4W-{ltr_version}-{ltr_binary}.sha256sum",
"apicite": f"/pyqgis/{ltrversion}/index.html",
"lr_msi": f"/downloads/QGIS-OSGeo4W-{lr_version}-{lr_binary}.msi",
"lr_sha": f"/downloads/QGIS-OSGeo4W-{lr_version}-{lr_binary}.sha256sum",
"ltr_msi": f"/downloads/QGIS-OSGeo4W-{ltr_version}-{ltr_binary}.msi",
"ltr_sha": f"/downloads/QGIS-OSGeo4W-{ltr_version}-{ltr_binary}.sha256sum",
"weekly_msi": "https://download.osgeo.org/qgis/windows/weekly/?C=M&O=D",
}, f, indent=4)

Expand Down
2 changes: 0 additions & 2 deletions static/_redirects

This file was deleted.

0 comments on commit b2cae5f

Please sign in to comment.