diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/advanced.rst | 2 | ||||
-rw-r--r-- | docs/commands.rst | 2 | ||||
-rw-r--r-- | docs/quickstart.rst | 18 |
3 files changed, 11 insertions, 11 deletions
diff --git a/docs/advanced.rst b/docs/advanced.rst index 3ea5a15..7f17e0c 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -13,7 +13,7 @@ Command Aliases --------------- Many tools support aliases for commands (see `Command alias example -<https://github.com/pallets/click/tree/master/examples/aliases>`_). +<https://github.com/pallets/click/tree/main/examples/aliases>`_). For instance, you can configure ``git`` to accept ``git ci`` as alias for ``git commit``. Other tools also support auto-discovery for aliases by automatically shortening them. diff --git a/docs/commands.rst b/docs/commands.rst index 5c02123..b70992e 100644 --- a/docs/commands.rst +++ b/docs/commands.rst @@ -422,7 +422,7 @@ to not use the file type and manually open the file through For a more complex example that also improves upon handling of the pipelines have a look at the `imagepipe multi command chaining demo -<https://github.com/pallets/click/tree/master/examples/imagepipe>`__ in +<https://github.com/pallets/click/tree/main/examples/imagepipe>`__ in the Click repository. It implements a pipeline based image editing tool that has a nice internal structure for the pipelines. diff --git a/docs/quickstart.rst b/docs/quickstart.rst index d971f13..90cf467 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -97,23 +97,23 @@ Examples of Click applications can be found in the documentation as well as in the GitHub repository together with readme files: * ``inout``: `File input and output - <https://github.com/pallets/click/tree/master/examples/inout>`_ + <https://github.com/pallets/click/tree/main/examples/inout>`_ * ``naval``: `Port of docopt naval example - <https://github.com/pallets/click/tree/master/examples/naval>`_ + <https://github.com/pallets/click/tree/main/examples/naval>`_ * ``aliases``: `Command alias example - <https://github.com/pallets/click/tree/master/examples/aliases>`_ + <https://github.com/pallets/click/tree/main/examples/aliases>`_ * ``repo``: `Git-/Mercurial-like command line interface - <https://github.com/pallets/click/tree/master/examples/repo>`_ + <https://github.com/pallets/click/tree/main/examples/repo>`_ * ``complex``: `Complex example with plugin loading - <https://github.com/pallets/click/tree/master/examples/complex>`_ + <https://github.com/pallets/click/tree/main/examples/complex>`_ * ``validation``: `Custom parameter validation example - <https://github.com/pallets/click/tree/master/examples/validation>`_ + <https://github.com/pallets/click/tree/main/examples/validation>`_ * ``colors``: `Color support demo - <https://github.com/pallets/click/tree/master/examples/colors>`_ + <https://github.com/pallets/click/tree/main/examples/colors>`_ * ``termui``: `Terminal UI functions demo - <https://github.com/pallets/click/tree/master/examples/termui>`_ + <https://github.com/pallets/click/tree/main/examples/termui>`_ * ``imagepipe``: `Multi command chaining demo - <https://github.com/pallets/click/tree/master/examples/imagepipe>`_ + <https://github.com/pallets/click/tree/main/examples/imagepipe>`_ Basic Concepts - Creating a Command ----------------------------------- |