Skip to content

Commit 58f1549

Browse files
committed
docs: update URLs master => main
1 parent 598c578 commit 58f1549

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ When contributing pull requests, it's a good idea to run basic checks locally:
66

77
```bash
88
# install development dependencies
9-
shtab (master)$ pip install pre-commit -r requirements-dev.txt
10-
shtab (master)$ pre-commit install # install pre-commit checks
11-
shtab (master)$ pytest # run all tests
9+
shtab (main)$ pip install pre-commit -r requirements-dev.txt
10+
shtab (main)$ pre-commit install # install pre-commit checks
11+
shtab (main)$ pytest # run all tests
1212
```
1313

1414
## Layout

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,16 @@ Please do open `issues <https://github.com/iterative/shtab/issues>`_ & `pull req
102102
- support ``powershell``
103103

104104
See
105-
`CONTRIBUTING.md <https://github.com/iterative/shtab/tree/master/CONTRIBUTING.md>`_
105+
`CONTRIBUTING.md <https://github.com/iterative/shtab/tree/main/CONTRIBUTING.md>`_
106106
for more guidance.
107107

108108
|Hits|
109109

110-
.. |Logo| image:: https://github.com/iterative/shtab/raw/master/meta/logo.png
110+
.. |Logo| image:: https://github.com/iterative/shtab/raw/main/meta/logo.png
111111
.. |Tests| image:: https://github.com/iterative/shtab/workflows/Test/badge.svg
112112
:target: https://github.com/iterative/shtab/actions
113113
:alt: Tests
114-
.. |Coverage| image:: https://codecov.io/gh/iterative/shtab/branch/master/graph/badge.svg
114+
.. |Coverage| image:: https://codecov.io/gh/iterative/shtab/branch/main/graph/badge.svg
115115
:target: https://codecov.io/gh/iterative/shtab
116116
:alt: Coverage
117117
.. |Conda| image:: https://img.shields.io/conda/v/conda-forge/shtab.svg?label=conda&logo=conda-forge

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![shtab](https://static.iterative.ai/img/shtab/banner.png)
22

33
[![Tests](https://github.com/iterative/shtab/workflows/Test/badge.svg)](https://github.com/iterative/shtab/actions)
4-
[![Coverage](https://codecov.io/gh/iterative/shtab/branch/master/graph/badge.svg)](https://codecov.io/gh/iterative/shtab)
4+
[![Coverage](https://codecov.io/gh/iterative/shtab/branch/main/graph/badge.svg)](https://codecov.io/gh/iterative/shtab)
55
[![conda-forge](https://img.shields.io/conda/v/conda-forge/shtab.svg?label=conda&logo=conda-forge)](https://anaconda.org/conda-forge/shtab)
66
[![PyPI](https://img.shields.io/pypi/v/shtab.svg?label=pip&logo=PyPI&logoColor=white)](https://pypi.org/project/shtab)
77

@@ -113,7 +113,7 @@ Please do open [issues][GH-issue] & [pull requests][GH-pr]! Some ideas:
113113
- support `powershell`
114114

115115
See
116-
[CONTRIBUTING.md](https://github.com/iterative/shtab/tree/master/CONTRIBUTING.md)
116+
[CONTRIBUTING.md](https://github.com/iterative/shtab/tree/main/CONTRIBUTING.md)
117117
for more guidance.
118118

119119
[![Hits](https://caspersci.uk.to/cgi-bin/hits.cgi?q=shtab&style=social&r=https://github.com/iterative/shtab&a=hidden)](https://caspersci.uk.to/cgi-bin/hits.cgi?q=shtab&a=plot&r=https://github.com/iterative/shtab&style=social)

docs/pydoc-markdown.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ renderer:
5555
generator: false
5656
theme:
5757
name: material
58-
logo: https://github.com/iterative/shtab/raw/master/meta/logo.png
59-
favicon: https://github.com/iterative/shtab/raw/master/meta/logo.png
58+
logo: https://github.com/iterative/shtab/raw/main/meta/logo.png
59+
favicon: https://github.com/iterative/shtab/raw/main/meta/logo.png
6060
palette:
6161
- scheme: default
6262
primary: white

docs/use.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Below are various examples of enabling `shtab`'s own tab completion scripts.
9999
```
100100

101101
!!! tip
102-
See the [examples/](https://github.com/iterative/shtab/tree/master/examples)
102+
See the [examples/](https://github.com/iterative/shtab/tree/main/examples)
103103
folder for more.
104104

105105
Any existing `argparse`-based scripts should be supported with minimal effort.
@@ -148,14 +148,14 @@ Assuming this code example is installed in `MY_PROG.command.main`, simply run:
148148
## Library Usage
149149

150150
!!! tip
151-
See the [examples/](https://github.com/iterative/shtab/tree/master/examples)
151+
See the [examples/](https://github.com/iterative/shtab/tree/main/examples)
152152
folder for more.
153153

154154
Complex projects with subparsers and custom completions for paths matching
155155
certain patterns (e.g. `--file=*.txt`) are fully supported (see
156-
[examples/customcomplete.py](https://github.com/iterative/shtab/tree/master/examples/customcomplete.py)
156+
[examples/customcomplete.py](https://github.com/iterative/shtab/tree/main/examples/customcomplete.py)
157157
or even
158-
[iterative/dvc:command/completion.py](https://github.com/iterative/dvc/blob/master/dvc/command/completion.py)
158+
[iterative/dvc:commands/completion.py](https://github.com/iterative/dvc/blob/main/dvc/commands/completion.py)
159159
for example).
160160

161161
Add direct support to scripts for a little more configurability:

0 commit comments

Comments
 (0)