Skip to content

"Edit on GitHub" links in docs are misleading #2478

@jhsoby

Description

@jhsoby

Steps to reproduce

  1. Go to a page in the docs, e.g. this one: https://python-telegram-bot.readthedocs.io/en/stable/telegram.ext.filters.html?highlight=caption#telegram.ext.filters.Filters.caption_regex

  2. Click "Edit on GitHub" at the top right.

  3. Youˈll end up at https://github.com/python-telegram-bot/python-telegram-bot/blob/ccedd3a87d5d7c4ea2a651eba4e9a8bcfba5faba/docs/source/telegram.ext.filters.rst

Expected behaviour

You will end up somewhere where you can edit the actual text (e.g. if you found a spelling mistake).

Actual behaviour

You end up on a template page (?) that apparently fetches the actual page content from somewhere else (where exactly is not obvious).

Configuration

Operating System: Irrelevant

Version of Python, python-telegram-bot & dependencies: Irrelevant

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions