You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like Chat to show it's base as telegram.TelegramObject
That way it would link through and we can properly show inheritence
There's also a issue #3014 which would also be fine so we can fix it ourselves
Now I merged #9026 that generates :canonical: option for the imported classes. It allows to refer to the python objects by its canonical name. It will resolve this problem.
Thanks,
Ah, sorry. #9026 does not resolve this issue. It allows to make a hyperlink as telegram.base.TelegramObject, not telegram.TelegramObject. So this is not resolved yet. So reopening now.
Problem
When documented our library we would like the base classes to be displayed as you can import them (and they're documented aswell)
let's assume the following
Procedure to reproduce the problem
run sphinx-build -b html
Error logs / results
Chat shows it's base as:
telegram.base.TelegramObject
http://python-telegram-bot.readthedocs.io/en/stable/telegram.chat.html
Expected results
I would like Chat to show it's base as
telegram.TelegramObject
That way it would link through and we can properly show inheritence
There's also a issue #3014 which would also be fine so we can fix it ourselves
Reproducible project / your project
https://github.com/python-telegram-bot/python-telegram-bot/tree/master/docs
Environment info
The text was updated successfully, but these errors were encountered: