Skip to content

Commit a5ff3e4

Browse files
committed
GH Pages: fix website after markdown tweaks
* The `license` URL needs to be an absolute URL for it to also work from within the webpage. * The matching of the badges broke due to the reference links. Let's just keep the links for the relevant badges inline to prevent this.
1 parent 73d7792 commit a5ff3e4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.remarkrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"remark-lint-list-item-punctuation",
4141
"remark-lint-match-punctuation",
4242
"remark-lint-no-hr-after-heading",
43-
"remark-lint-are-links-valid-duplicate",
4443
"remark-validate-links"
4544
]
4645
}

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<div aria-hidden="true">
44

5-
[![Latest Stable Version](https://img.shields.io/packagist/v/phpcsstandards/phpcsdevtools?label=stable)][phpcsdevtools-packagist]
6-
[![Release Date of the Latest Version](https://img.shields.io/github/release-date/PHPCSStandards/PHPCSDevTools.svg?maxAge=1800)][phpcsdevtools-releases]
5+
[![Latest Stable Version](https://img.shields.io/packagist/v/phpcsstandards/phpcsdevtools?label=stable)](https://packagist.org/packages/phpcsstandards/phpcsdevtools)
6+
[![Release Date of the Latest Version](https://img.shields.io/github/release-date/PHPCSStandards/PHPCSDevTools.svg?maxAge=1800)](https://github.com/PHPCSStandards/PHPCSDevTools/releases)
77
[![Changelog](https://img.shields.io/github/v/release/PHPCSStandards/PHPCSDevTools?label=Changelog&sort=semver)](https://github.com/PHPCSStandards/PHPCSDevTools/blob/stable/CHANGELOG.md)
88
:construction:
99
[![Latest Unstable Version](https://img.shields.io/badge/unstable-dev--develop-e68718.svg?maxAge=2419200)](https://packagist.org/packages/phpcsstandards/phpcsdevtools#dev-develop)
@@ -14,7 +14,7 @@
1414
[![Build Status Test](https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/test.yml/badge.svg)][gha-test-results]
1515
[![Tested on PHP 5.4 to nightly](https://img.shields.io/badge/tested%20on-PHP%205.4%20|%205.5%20|%205.6%20|%207.0%20|%207.1%20|%207.2%20|%207.3%20|%207.4%20|%208.0%20|%208.1%20|%208.2%20|%208.3%20|%208.4%20|%20nightly-brightgreen.svg?maxAge=2419200)](https://github.com/PHPCSStandards/PHPCSDevTools/actions?query=workflow%3ATest)
1616

17-
[![License: LGPLv3](https://img.shields.io/github/license/PHPCSStandards/PHPCSDevTools)](https://github.com/PHPCSStandards/PHPCSDevTools/blob/stable/LICENSE)
17+
[![License: LGPLv3](https://img.shields.io/github/license/PHPCSStandards/PHPCSDevTools)][phpcsdevtools-license]
1818
![Awesome](https://img.shields.io/badge/awesome%3F-yes!-brightgreen.svg)
1919

2020
</div>
@@ -234,11 +234,12 @@ If unsure whether the changes you are proposing would be welcome, open an issue
234234

235235
## License
236236

237-
This code is released under the [GNU Lesser General Public License (LGPLv3)](LICENSE).
237+
This code is released under the [GNU Lesser General Public License (LGPLv3)][phpcsdevtools-license].
238238

239239

240240
[phpcsdevtools-packagist]: https://packagist.org/packages/phpcsstandards/phpcsdevtools
241241
[phpcsdevtools-releases]: https://github.com/PHPCSStandards/PHPCSDevTools/releases
242+
[phpcsdevtools-license]: https://github.com/PHPCSStandards/PHPCSDevTools/blob/stable/LICENSE
242243
[gha-qa-results]: https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/cs.yml
243244
[gha-test-results]: https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/test.yml
244245

0 commit comments

Comments
 (0)