Skip to content

Commit 7818f30

Browse files
committed
new docs links
1 parent b4d25f8 commit 7818f30

6 files changed

Lines changed: 16 additions & 14 deletions

File tree

CONTRIBUTING.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Thanks for considering contributing to Click.
77
Support questions
88
=================
99

10-
Please, don't use the issue tracker for this. Check whether the `Pocoo IRC
11-
channel <http://www.pocoo.org/irc/>`_ can help with your issue. If your problem
10+
Please, don't use the issue tracker for this. Check whether the
11+
``#pocoo`` IRC channel on Freenode can help with your issue. If your problem
1212
is not strictly Click-specific, ``#python`` on Freenode is generally more
1313
active. `StackOverflow <https://stackoverflow.com/>`_ is also worth
1414
considering.
@@ -33,9 +33,9 @@ Submitting patches
3333
may ignore the line-length-limit if following it would make the code uglier.
3434

3535
- For features: Consider whether your feature would be a better fit for an
36-
`external package <http://click.pocoo.org/contrib/>`_
36+
`external package <https://click.palletsprojects.com/en/7.x/contrib/>`_
3737

38-
- For bugfixes: Submit against the latest maintenance branch instead of master!
38+
- For docs and bug fixes: Submit against the latest maintenance branch instead of master!
3939

4040
Running the testsuite
4141
---------------------

click/_unicodefun.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def _check_for_unicode_literals():
4343
'because it can introduce subtle bugs in your '
4444
'code. You should instead use explicit u"" literals '
4545
'for your unicode strings. For more information see '
46-
'http://click.pocoo.org/python3/'),
46+
'https://click.palletsprojects.com/python3/'),
4747
stacklevel=bad_frame)
4848

4949

@@ -117,7 +117,9 @@ def _verify_python3_env():
117117
'is not supported'
118118
) % bad_locale
119119

120-
raise RuntimeError('Click will abort further execution because Python 3 '
121-
'was configured to use ASCII as encoding for the '
122-
'environment. Consult http://click.pocoo.org/python3/ '
123-
'for mitigation steps.' + extra)
120+
raise RuntimeError(
121+
'Click will abort further execution because Python 3 was'
122+
' configured to use ASCII as encoding for the environment.'
123+
' Consult https://click.palletsprojects.com/en/7.x/python3/ for'
124+
' mitigation steps.' + extra
125+
)

click/termui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ def launch(url, wait=False, locate=False):
524524
525525
Examples::
526526
527-
click.launch('http://click.pocoo.org/')
527+
click.launch('https://click.palletsprojects.com/')
528528
click.launch('/my/downloaded/file', locate=True)
529529
530530
.. versionadded:: 2.0

docs/python3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ If you see something like this error in Python 3::
120120
...
121121
RuntimeError: Click will abort further execution because Python 3 was
122122
configured to use ASCII as encoding for the environment. Either switch
123-
to Python 2 or consult http://click.pocoo.org/python3/ for
123+
to Python 2 or consult the Python 3 section of the docs for
124124
mitigation steps.
125125

126126
You are dealing with an environment where Python 3 thinks you are

docs/utils.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ select the provided file.
245245

246246
Example usage::
247247

248-
click.launch('http://click.pocoo.org/')
249-
click.launch('/my/downloaded/file.txt', locate=True)
248+
click.launch("https://click.palletsprojects.com/")
249+
click.launch("/my/downloaded/file.txt", locate=True)
250250

251251

252252
Printing Filenames

examples/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Click Examples
99
through the wrong interpreter.
1010

1111
For more information about this see the documentation:
12-
http://click.pocoo.org/setuptools/
12+
https://click.palletsprojects.com/en/7.x/setuptools/

0 commit comments

Comments
 (0)