Skip to content

Commit 5f0e5fb

Browse files
committed
use a ref instead of hard-coded link in new tip
Use a ref role instead of a hard-coded link to let the link work no matter where the documentation is being served from.
1 parent bc9b565 commit 5f0e5fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/tips.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ Clean up environments on exit
147147

148148
Via `Michael <https://github.com/kojiromike>`__:
149149

150-
When you use a temporary virtualenv via ``mktmpenv`` or if you have
151-
a `deactivate <http://virtualenvwrapper.readthedocs.org/en/latest/plugins.html?highlight=hooks#post-deactivate>`_ hook, you have to actually run
150+
When you use a temporary virtualenv via ``mktmpenv`` or if you have a
151+
:ref:`plugins-post_deactivate` hook, you have to actually run
152152
``deactivate`` to clean up the temporary environment or run the hook,
153153
respectively. It's easy to forget and just exit the shell. Put the
154154
following in ``~/.bash_logout`` (or your shell's equivalent file) to

0 commit comments

Comments
 (0)