Skip to content

Commit db53c8f

Browse files
authored
Merge pull request #982 from meowmeowmeowcat/new
2 parents 22fc6c8 + 9058b71 commit db53c8f

13 files changed

Lines changed: 33 additions & 28 deletions

source/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,14 +389,22 @@
389389

390390
linkcheck_ignore = [
391391
"http://localhost:\d+",
392+
# This is an example that showing to the reader
393+
"https://test.pypi.org/project/example-pkg-YOUR-USERNAME-HERE",
394+
# Ignoring it as it will redirect to login page if reader hasn't logged in.
395+
"https://pypi.org/manage/*",
396+
"https://test.pypi.org/manage/*",
392397
]
393398

394399
# Example configuration for intersphinx: refer to the Python standard library.
395400
intersphinx_mapping = {
401+
'openstack': ('https://docs.openstack.org/glance/latest/', None),
396402
'python': ('https://docs.python.org/3', None),
397403
'python2': ('https://docs.python.org/2', None),
398404
'pip': ('https://pip.pypa.io/en/latest/', None),
405+
'scipy': ('https://www.scipy.org', None),
399406
'setuptools': ('https://setuptools.readthedocs.io/en/latest/', None),
407+
'tox': ('https://tox.readthedocs.io/en/latest/', None),
400408
'twine': ('https://twine.readthedocs.io/en/stable/', None),
401409
}
402410

source/guides/analyzing-pypi-package-downloads.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ include:
8383
+------------------------+-----------------+-----------------------------+
8484
| file.version | Package version | ``0.1.6``, ``1.4.2`` |
8585
+------------------------+-----------------+-----------------------------+
86-
| details.installer.name | Installer | pip, `bandersnatch`_ |
86+
| details.installer.name | Installer | pip, :ref:`bandersnatch` |
8787
+------------------------+-----------------+-----------------------------+
8888
| details.python | Python version | ``2.7.12``, ``3.6.4`` |
8989
+------------------------+-----------------+-----------------------------+
@@ -304,7 +304,6 @@ References
304304
.. [#] `PyPI BigQuery dataset announcement email <https://mail.python.org/pipermail/distutils-sig/2016-May/028986.html>`__
305305
306306
.. _public PyPI download statistics dataset: https://console.cloud.google.com/bigquery?p=bigquery-public-data&d=pypi&page=dataset
307-
.. _bandersnatch: /key_projects/#bandersnatch
308307
.. _Google BigQuery: https://cloud.google.com/bigquery
309308
.. _BigQuery web UI: https://console.cloud.google.com/bigquery
310309
.. _pypinfo: https://github.com/ofek/pypinfo/blob/master/README.rst

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ generated during the install of your :term:`distribution <Distribution
536536
Package>`.
537537

538538
For more information, see `Automatic Script Creation
539-
<https://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation>`_
539+
<https://setuptools.readthedocs.io/en/latest/userguide/quickstart.html#entry-points-and-automatic-script-creation>`_
540540
from the :doc:`setuptools docs <setuptools:index>`.
541541

542542
.. _`Choosing a versioning scheme`:

source/guides/installing-scientific-packages.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ published on python.org.
9191

9292
macOS users also have access to Linux distribution style package managers
9393
such as ``MacPorts``. The SciPy site has more details on using MacPorts to
94-
install the `scientific Python stack
95-
<http://www.scipy.org/install.html#mac-packages>`__
94+
install the :ref:`scientific Python stack
95+
<scipy:mac>`
9696

9797

9898
SciPy distributions

source/guides/installing-using-linux-tools.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ To install pip, wheel, and setuptools, in a parallel, non-system environment
9494

9595
Be aware that collections may not contain the most recent versions.
9696

97-
2. Enable the `IUS repository <https://ius.io/GettingStarted/>`_ and
97+
2. Enable the `IUS repository <https://ius.io/setup>`_ and
9898
install one of the `parallel-installable
99-
<https://ius.io/SafeRepo/#parallel-installable-package>`_
99+
<https://ius.io/usage#parallel-installable-packages>`_
100100
Pythons, along with pip, setuptools, and wheel, which are kept fairly up to
101101
date.
102102

source/guides/installing-using-pip-and-virtual-environments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ specifying the extra in brackets:
301301
py -m pip install requests[security]
302302
303303
.. _extras:
304-
https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies
304+
https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#optional-dependencies
305305

306306

307307
Installing from source

source/guides/packaging-namespace-packages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,6 @@ in the `pkg_resources namespace example project`_.
238238

239239
.. _setuptools: https://setuptools.readthedocs.io
240240
.. _pkg_resources.declare_namespace:
241-
https://setuptools.readthedocs.io/en/latest/setuptools.html#namespace-packages
241+
https://setuptools.readthedocs.io/en/latest/pkg_resources.html#namespace-package-support
242242
.. _pkg_resources namespace example project:
243243
https://github.com/pypa/sample-namespace-packages/tree/master/pkg_resources

source/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ sure that your release pipeline remains healthy!
144144
.. _`pypa/gh-action-pypi-publish GitHub Action`:
145145
https://github.com/marketplace/actions/pypi-publish
146146
.. _Secrets:
147-
https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables
147+
https://docs.github.com/en/actions/reference/encrypted-secrets

source/guides/supporting-multiple-python-versions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ with a single-source strategy, there are a number of options.
8888
Tools for single-source Python packages
8989
----------------------------------------
9090

91-
`six <http://pythonhosted.org/six/>`_ is a tool developed by Benjamin Peterson
91+
`six <https://pypi.org/project/six/>`_ is a tool developed by Benjamin Peterson
9292
for wrapping over the differences between Python 2 and Python 3. The six_
9393
package has enjoyed widespread use and may be regarded as a reliable way to
9494
write a single-source Python module that can be use in both Python 2 and 3.

source/guides/supporting-windows-using-appveyor.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Additional notes
149149
Testing with tox
150150
----------------
151151

152-
Many projects use the `Tox`_ tool to run their tests. It ensures that tests
152+
Many projects use the :doc:`Tox <tox:index>` tool to run their tests. It ensures that tests
153153
are run in an isolated environment using the exact files that will be distributed
154154
by the project.
155155

@@ -239,6 +239,6 @@ For reference, the SDK setup support script is listed here:
239239

240240
.. _Appveyor: http://www.appveyor.com/
241241
.. _Travis: https://travis-ci.org/
242-
.. _Github: https://github.org/
242+
.. _Github: https://github.com
243243
.. _Bitbucket: https://bitbucket.org/
244244
.. _Tox: http://tox.testrun.org

0 commit comments

Comments
 (0)