Skip to content

Fix Broken Links in Documentation#5080

Merged
Bibo-Joshi merged 4 commits intopython-telegram-bot:masterfrom
calm329:master
Jan 3, 2026
Merged

Fix Broken Links in Documentation#5080
Bibo-Joshi merged 4 commits intopython-telegram-bot:masterfrom
calm329:master

Conversation

@calm329
Copy link
Contributor

@calm329 calm329 commented Jan 2, 2026

Closes #5074

Fixes broken links detected by the linkcheck workflow:

  1. Telegram sticker documentation anchors - The anchors #animation-requirements and #video-requirements no longer exist on https://core.telegram.org/stickers. Updated to the new anchors #animated-stickers-and-emoji and #video-stickers-and-emoji.

  2. Google Maps documentation URL - The /supported_types endpoint permanently redirects to a legacy page. Updated all occurrences to use /place-types which is the current documentation.

  3. GitHub bot user URL - Replaced dependabot[bot] with dependabot in changelog to fix the broken GitHub profile link.

Check-list for PRs

  • Added .. versionadded:: NEXT.VERSION ... - N/A (no user-facing changes)
  • Created new or adapted existing unit tests - N/A (documentation only)
  • Documented code changes according to the CSI standard - N/A
  • Added myself alphabetically to AUTHORS.rst (optional)
  • Added new classes & modules to the docs and all suitable __all__s - N/A
  • Checked the Stability Policy in case of deprecations or changes to documented behavior - N/A

Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=148254234

Copy link
Member

@Bibo-Joshi Bibo-Joshi left a comment

Choose a reason for hiding this comment

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

Hey, thanks for the PR! One comment :)

re.escape("https://docs.python-telegram-bot.org/en/doc-fixes"),
# Apparently has some human-verification check and gives 403 in the sphinx build
re.escape("https://stackoverflow.com/questions/tagged/python-telegram-bot"),
# GitHub bot user URLs contain square brackets which cause 404 errors
Copy link
Member

Choose a reason for hiding this comment

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

can you instead please replace occurences of dependabot[bot] with dependabot?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, could you take another look?

@Bibo-Joshi Bibo-Joshi changed the base branch from master to doc-fixes January 3, 2026 14:42
@Bibo-Joshi Bibo-Joshi changed the base branch from doc-fixes to master January 3, 2026 14:43
Copy link
Member

@Bibo-Joshi Bibo-Joshi left a comment

Choose a reason for hiding this comment

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

nice, thanks! One more request thouh, please create a file at changes/unreleased/5080.BYez3ivHiHpRDEjnsCStKM.toml with the content

documentation = "Fix Broken Links in Documentation"
[[pull_requests]]
uid = "5080"
author_uids = ["calm329"]
closes_threads = ["5074"]

Sorry, missed that before …

@calm329
Copy link
Contributor Author

calm329 commented Jan 3, 2026

nice, thanks! One more request thouh, please create a file at changes/unreleased/5080.BYez3ivHiHpRDEjnsCStKM.toml with the content

documentation = "Fix Broken Links in Documentation"
[[pull_requests]]
uid = "5080"
author_uids = ["calm329"]
closes_threads = ["5074"]

Sorry, missed that before …

Done

@Bibo-Joshi Bibo-Joshi merged commit 20f457c into python-telegram-bot:master Jan 3, 2026
19 of 25 checks passed
@Bibo-Joshi
Copy link
Member

Thanks very much for the contribution!

@github-actions github-actions bot locked and limited conversation to collaborators Jan 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix Broken Links in Documentation

2 participants