Skip to content

Commit f394329

Browse files
committed
Use intersphinx for twine docs
1 parent d07107d commit f394329

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎source/conf.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@
354354
intersphinx_mapping = {
355355
'python': ('https://docs.python.org/3.6', None),
356356
'pip': ('https://pip.pypa.io/en/latest/', None),
357+
'twine': ('https://twine.rtfd.io/en/stable/', None),
357358
}
358359

359360

‎source/guides/distributing-packages-using-setuptools.rst‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -886,9 +886,8 @@ distribution file(s) to upload.
886886
directives are forbidden or stripped out (e.g., the ``.. raw::``
887887
directive). **Before** trying to upload your distribution, you should check
888888
to see if your brief / long descriptions provided in :file:`setup.py` are
889-
valid. You can do this by running `twine check
890-
<https://twine.readthedocs.io/en/stable/#twine-check>`_ on your package files:
891-
::
889+
valid. You can do this by running :std:doc:`twine check <index>` on
890+
your package files::
892891

893892
twine check dist/*
894893

0 commit comments

Comments
 (0)