Skip to content
Myr

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

6 files+16 added−14 removed

modified:click/_unicodefun.py+7 added-5 removed
41 unmodified lines
42 '__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)484950def _verify_python3_env():
65 unmodified lines
116 'it does not exist. The exported locale is "%s" but it\n'117 'is not supported'118 ) % bad_locale119120 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 lines
523 success.524525 Examples::526527 click.launch('http://click.pocoo.org/')527 click.launch('https://click.palletsprojects.com/')528 click.launch('/my/downloaded/file', locate=True)529530 .. versionadded:: 2.0531
75 unmodified lines
modified:docs/python3.rst+1 added-1 removed
118 unmodified lines
119 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.125126You are dealing with an environment where Python 3 thinks you are127restricted to ASCII data. The solution to these problems is different
56 unmodified lines
modified:docs/utils.rst+2 added-2 removed
243 unmodified lines
244select the provided file.245246Example usage::247248 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)250251252Printing Filenames253------------------
157 unmodified lines
modified:examples/README+1 added-1 removed
7 unmodified lines
8 on Windows and in virtualenvs without accidentally executing9 through the wrong interpreter.1011 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 lines
67Support questions8=================910Please, don't use the issue tracker for this. Check whether the `Pocoo IRC11channel <http://www.pocoo.org/irc/>`_ can help with your issue. If your problem10Please, don't use the issue tracker for this. Check whether the11``#pocoo`` IRC channel on Freenode can help with your issue. If your problem12is not strictly Click-specific, ``#python`` on Freenode is generally more13active. `StackOverflow <https://stackoverflow.com/>`_ is also worth14considering.15
16 unmodified lines
32- 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.3435- 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/>`_3738- 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!3940Running the testsuite41---------------------42
19 unmodified lines