new docs links
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent b4d25f8 · Browse files · 6 files·+16 added−14 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
6 files+16 added−14 removed
- other:+16 added−14 removed
Provenance
- Commit
7818f30- Tree
b329d69- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
b4d25f8
6 files changed+16 added−14 removed
modified:click/_unicodefun.py+7 added-5 removed
41 unmodified lines42 '__future__ import. This is heavily discouraged '43 'because it can introduce subtle bugs in your '44 'code. You should instead use explicit u"" literals '45 'for your unicode strings. For more information see '46- 'http://click.pocoo.org/python3/'),46+ 'https://click.palletsprojects.com/python3/'),47 stacklevel=bad_frame)48 49 50 def _verify_python3_env():65 unmodified lines116 'it does not exist. The exported locale is "%s" but it\n'117 'is not supported'118 ) % bad_locale119 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.' + extra125+ )modified:click/termui.py+1 added-1 removed
522 unmodified lines523 success.524 525 Examples::526 527- click.launch('http://click.pocoo.org/')527+ click.launch('https://click.palletsprojects.com/')528 click.launch('/my/downloaded/file', locate=True)529 530 .. versionadded:: 2.0531 75 unmodified linesmodified:docs/python3.rst+1 added-1 removed
118 unmodified lines119 Traceback (most recent call last):120 ...121 RuntimeError: Click will abort further execution because Python 3 was122 configured to use ASCII as encoding for the environment. Either switch123- to Python 2 or consult http://click.pocoo.org/python3/ for123+ to Python 2 or consult the Python 3 section of the docs for124 mitigation steps.125 126 You are dealing with an environment where Python 3 thinks you are127 restricted to ASCII data. The solution to these problems is different56 unmodified linesmodified:docs/utils.rst+2 added-2 removed
243 unmodified lines244 select the provided file.245 246 Example usage::247 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)250 251 252 Printing Filenames253 ------------------157 unmodified linesmodified:examples/README+1 added-1 removed
7 unmodified lines8 on Windows and in virtualenvs without accidentally executing9 through the wrong interpreter.10 11 For more information about this see the documentation:12- http://click.pocoo.org/setuptools/12+ https://click.palletsprojects.com/en/7.x/setuptools/modified:CONTRIBUTING.rst+4 added-4 removed
5 unmodified lines6 7 Support questions8 =================9 10-Please, don't use the issue tracker for this. Check whether the `Pocoo IRC11-channel <http://www.pocoo.org/irc/>`_ can help with your issue. If your problem10+Please, don't use the issue tracker for this. Check whether the11+``#pocoo`` IRC channel on Freenode can help with your issue. If your problem12 is not strictly Click-specific, ``#python`` on Freenode is generally more13 active. `StackOverflow <https://stackoverflow.com/>`_ is also worth14 considering.15 16 unmodified lines32 - Try to follow `PEP8 <http://legacy.python.org/dev/peps/pep-0008/>`_, but you33 may ignore the line-length-limit if following it would make the code uglier.34 35 - For features: Consider whether your feature would be a better fit for an36- `external package <http://click.pocoo.org/contrib/>`_36+ `external package <https://click.palletsprojects.com/en/7.x/contrib/>`_37 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!39 40 Running the testsuite41 ---------------------42 19 unmodified lines