Commit Graph

5 Commits

Author SHA1 Message Date
Jon Dufresne 0945809afc Remove typing.TYPE_CHECKING guards
The typing module has been available since Python 3.5. Guarding the
import has been unnecessary since dropping Python 2.

Some guards remain to either:

- Avoid circular imports
- Importing objects that are also guarded by typing.TYPE_CHECKING
- Avoid mypy_extensions dependency
2021-02-19 18:34:21 -08:00
Richard Si a61586cdcf Fix broken email link in docs feedback banners
'docs-feedback+ux/pip.pypa.io@pypa.io' isn't a valid email address, so
I replaced it with the right email address according to this GitHub
comment:

https://github.com/pypa/pip/issues/8783#issuecomment-685823974
2020-12-24 18:07:15 -05:00
Sviatoslav Sydorenko 5b71640447
Fix handling orphan documents in the feedback ext
Before this change, the cut-off step was present but the new string
wasn't assigned back and this resulted in `:orphan:` not only re-
injected at the beginning of the document but also left over after
the admonition.
2020-11-28 23:52:52 +01:00
Pradyun Gedam f3ee03d6d0
Drop custom styling for admonitions 2020-11-12 07:29:19 +05:30
Sviatoslav Sydorenko 3301284810
📝 Add initial sphinx ext for per-doc feedbacks
Resolves #8783
2020-09-25 23:25:35 +02:00