Skip to content

Add shortlinks for tutorials.#611

Merged
mhsmith merged 2 commits intobeeware:lektorfrom
freakboy3742:tutorial-shorturls
Apr 17, 2025
Merged

Add shortlinks for tutorials.#611
mhsmith merged 2 commits intobeeware:lektorfrom
freakboy3742:tutorial-shorturls

Conversation

@freakboy3742
Copy link
Copy Markdown
Member

I've historically used bit.ly for short links in tutorials; however, bit.ly has gone down the enshittification hole and now puts blocker ads in front of links.

Rather than switch to another shortlink service that will eventually go down the same route, I figured it's easier to host the links ourselves.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 added the preview Approved for an automated preview label Apr 16, 2025
@freakboy3742 freakboy3742 requested a review from mhsmith April 16, 2025 05:28
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 16, 2025

Visit the preview URL for this PR (updated for commit c0693e5):

https://beeware-org--pr611-tutorial-shorturls-vc51rztu.web.app

(expires Thu, 24 Apr 2025 00:14:14 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: b0da44bc067e7d9a4255c77cb2c5fce572218cec

@@ -0,0 +1,3 @@
_model: redirect
---
new_path: https://www.dropbox.com/scl/fi/h6zngysnbibk3ly4e0qz9/Build-a-cross-platform-GUI-app-with-BeeWare.pdf?rlkey=knjrqcv5e6wxzv9335va0j5qu&st=t1t4ppji&dl=0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This redirect doesn't work because it replaces each & in the URL with &.

@freakboy3742 freakboy3742 added preview Approved for an automated preview and removed preview Approved for an automated preview labels Apr 17, 2025
@freakboy3742 freakboy3742 requested a review from mhsmith April 17, 2025 02:47
@mhsmith mhsmith merged commit a154d2b into beeware:lektor Apr 17, 2025
2 checks passed
@freakboy3742 freakboy3742 deleted the tutorial-shorturls branch April 18, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Approved for an automated preview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants