Skip to content

Commit 294edf2

Browse files
authored
Merge pull request realpython#903 from ohing504/master
Fix undefined labels
2 parents 615ad9e + d7f9ff4 commit 294edf2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/dev/virtualenvs.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ install the latest 3.x version from `python.org`_ or refer to the
4747
`getting started tutorial`_ for an introduction to using your operating
4848
system's shell and interacting with Python.
4949

50-
Additionally, you'll need to make sure you have :ref:`pip` available. You can
50+
Additionally, you'll need to make sure you have `pip`_ available. You can
5151
check this by running:
5252

5353
.. code-block:: bash
@@ -60,16 +60,17 @@ using your OS package manager, you may have to `install pip <https://pip.pypa.io
6060

6161
.. _getting started tutorial: https://opentechschool.github.io/python-beginners/en/getting_started.html#what-is-python-exactly
6262
.. _python.org: https://python.org
63+
.. _pip: https://pypi.org/project/pip/
6364
.. _Homebrew: https://brew.sh
6465
.. _Installing Python: http://docs.python-guide.org/en/latest/starting/installation/
6566

6667

6768
Installing Pipenv
6869
-----------------
6970

70-
:ref:`Pipenv` is a dependency manager for Python projects. If you're familiar
71+
`Pipenv`_ is a dependency manager for Python projects. If you're familiar
7172
with Node.js' `npm`_ or Ruby's `bundler`_, it is similar in spirit to those
72-
tools. While :ref:`pip` can install Python packages, Pipenv is recommended as
73+
tools. While `pip`_ can install Python packages, Pipenv is recommended as
7374
it's a higher-level tool that simplifies dependency management for common use
7475
cases.
7576

@@ -100,6 +101,7 @@ Use ``pip`` to install Pipenv:
100101
user ``PATH`` permanently in the `Control Panel`_. You may need to log
101102
out for the ``PATH`` changes to take effect.
102103

104+
.. _Pipenv: https://docs.pipenv.org/
103105
.. _npm: https://www.npmjs.com/
104106
.. _bundler: http://bundler.io/
105107
.. _user base: https://docs.python.org/3/library/site.html#site.USER_BASE
@@ -120,11 +122,13 @@ tutorial) and run:
120122
$ pipenv install requests
121123
122124
Pipenv will install the excellent `Requests`_ library and create a ``Pipfile``
123-
for you in your project's directory. The :ref:`Pipfile` is used to track which
125+
for you in your project's directory. The `Pipfile`_ is used to track which
124126
dependencies your project needs in case you need to re-install them, such as
125127
when you share your project with others. You should get output similar to this
126128
(although the exact paths shown will vary):
127129

130+
.. _Pipfile: https://github.com/pypa/pipfile
131+
128132
.. code-block:: text
129133
130134
Creating a Pipfile for this project...

0 commit comments

Comments
 (0)