Skip to content

Commit 44e6478

Browse files
committed
docs: fix links of os shields
1 parent e819456 commit 44e6478

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ _Keep your code Spotless from the command line_
66
output = [
77
link(shield('SpotlessCLI Version', 'latest-version', '{{spotlessVersion}}', 'blue'), 'CHANGES.md'),
88
'',
9-
link(shield('OS Win', 'OS', 'Windows', 'blueviolet'), 'README.md'),
10-
link(shield('OS Linux', 'OS', 'Linux', 'blueviolet'), 'README.md'),
11-
link(shield('OS macOS', 'OS', 'macOS', 'blueviolet'), 'README.md'),
9+
link(shield('OS Win', 'OS', 'Windows', 'blueviolet'), '#installation-on-windows'),
10+
link(shield('OS Linux', 'OS', 'Linux', 'blueviolet'), '#installation-on-macos-and-linux'),
11+
link(shield('OS macOS', 'OS', 'macOS', 'blueviolet'), '#installation-on-macos-and-linux'),
1212
].join('\n')
1313
-->
1414

1515
[![SpotlessCLI Version](https://img.shields.io/badge/latest--version-0.1.0-blue.svg)](CHANGES.md)
1616

17-
[![OS Win](https://img.shields.io/badge/OS-Windows-blueviolet.svg)](README.md)
18-
[![OS Linux](https://img.shields.io/badge/OS-Linux-blueviolet.svg)](README.md)
19-
[![OS macOS](https://img.shields.io/badge/OS-macOS-blueviolet.svg)](README.md)
17+
[![OS Win](https://img.shields.io/badge/OS-Windows-blueviolet.svg)](#installation-on-windows)
18+
[![OS Linux](https://img.shields.io/badge/OS-Linux-blueviolet.svg)](#installation-on-macos-and-linux)
19+
[![OS macOS](https://img.shields.io/badge/OS-macOS-blueviolet.svg)](#installation-on-macos-and-linux)
2020

2121
<!---freshmark /shields -->
2222

@@ -57,7 +57,9 @@ output = [
5757

5858
## Installation
5959

60-
To install with Homebrew on macOS or Linux:
60+
### Installation on macOS and Linux
61+
62+
To install with [Homebrew](https://brew.sh/) on macOS or Linux:
6163

6264
```shell
6365
brew install diffplug/tap/spotless-cli
@@ -67,7 +69,9 @@ brew tap diffplug/tap
6769
brew install spotless-cli
6870
```
6971

70-
To install with Chocolatey on Windows:
72+
### Installation on Windows
73+
74+
To install with [Chocolatey](https://chocolatey.org/) on Windows:
7175

7276
```shell
7377
choco install spotless-cli

0 commit comments

Comments
 (0)