Skip to content

Commit 940de18

Browse files
committed
Merge branch 'docs/twine-long-desc-validation' into main
2 parents d97f0a7 + f394329 commit 940de18

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎source/conf.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@
377377
'python2': ('https://docs.python.org/2', None),
378378
'pip': ('https://pip.pypa.io/en/latest/', None),
379379
'setuptools': ('https://setuptools.rtfd.io/en/latest/', None),
380+
'twine': ('https://twine.rtfd.io/en/stable/', None),
380381
}
381382

382383

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,8 +881,10 @@ distribution file(s) to upload.
881881
directives are forbidden or stripped out (e.g., the ``.. raw::``
882882
directive). **Before** trying to upload your distribution, you should check
883883
to see if your brief / long descriptions provided in :file:`setup.py` are
884-
valid. You can do this by following the instructions for the
885-
`pypa/readme_renderer <https://github.com/pypa/readme_renderer>`_ tool.
884+
valid. You can do this by running :std:doc:`twine check <index>` on
885+
your package files::
886+
887+
twine check dist/*
886888

887889
Create an account
888890
-----------------

0 commit comments

Comments
 (0)