Skip to content

Commit c6849cb

Browse files
committed
Added lychee.toml
1 parent 351e891 commit c6849cb

9 files changed

Lines changed: 57 additions & 13 deletions

File tree

.github/lychee.toml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# For all options, see <https://lychee.cli.rs/usage/config/>
2+
3+
# Verbose program output
4+
# Accepts log level: "error", "warn", "info", "debug", "trace"
5+
verbose = "info"
6+
7+
# Output display mode
8+
mode = "emoji"
9+
10+
# Interactive progress bar while checking links.
11+
no_progress = true
12+
13+
# Enable link caching. This can be helpful to avoid checking the same links on
14+
# multiple runs.
15+
cache = true
16+
17+
# Accept 200 (OK) and 403 (Forbidden) responses as valid
18+
accept = [
19+
"200"
20+
]
21+
22+
# Maximum number of allowed redirects.
23+
max_redirects = 2
24+
25+
# Maximum number of allowed retries before a link is declared dead.
26+
max_retries = 2
27+
28+
# Only test links with the given schemes (e.g. https).
29+
# Omit to check links with any other scheme.
30+
# At the moment, we support http, https, file, and mailto.
31+
scheme = ["https"]
32+
33+
# Exclude links
34+
exclude = [
35+
# Exclude links from these domains
36+
]
37+
38+
# Exclude paths from getting checked. The values are treated as regular expressions
39+
exclude_path = [
40+
"\\.txt$", # skip .txt extensions
41+
"(^|/)test/", # skip directories named "test"
42+
"external/", # skip external directories
43+
]

.github/workflows/buildmgr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
run: |
142142
sudo apt-get update
143143
sudo apt-get install ninja-build python3
144-
wget -q http://security.ubuntu.com/ubuntu/pool/main//d/doxygen/doxygen_1.8.6-2_amd64.deb
144+
wget -q https://security.ubuntu.com/ubuntu/pool/main//d/doxygen/doxygen_1.8.6-2_amd64.deb
145145
sudo dpkg -i doxygen_1.8.6-2_amd64.deb
146146
sudo pip install LinkChecker==10.6.0
147147
- name: Create build folder

.github/workflows/markdown.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@ jobs:
5555
- name: Check markdown links
5656
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
5757
with:
58+
args: --config .github/lychee.toml --verbose --no-progress './**/*.md' './**/*.html'
5859
fail: true
5960
jobSummary: true

LICENSE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
77
You may obtain a copy of the License at
88

9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010

1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,
@@ -20,12 +20,12 @@ Individual files contain the following tag instead of the full license text.
2020

2121
SPDX-License-Identifier: Apache-2.0
2222

23-
This enables machine processing of license information based on the SPDX License Identifiers that are here available: http://spdx.org/licenses/
23+
This enables machine processing of license information based on the SPDX License Identifiers that are here available: https://spdx.org/licenses/
2424

2525
## Third Party Licenses
2626

2727
All files listed in the path `test/packs/ARM/RteTest_DFP/0.1.1/Device` are licensed under
28-
[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) and are attributed to ARM Limited. The files originate
28+
[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) and are attributed to ARM Limited. The files originate
2929
from https://github.com/ARM-software/CMSIS_5/tree/develop/Device/ARM.
3030

3131
## External Dependencies
@@ -41,8 +41,8 @@ or testing purposes.
4141
|Google C++ Testing Framework|1.11.0|[BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)|https://github.com/google/googletest.git| Testing |
4242
|cxxopts|2.2.1|[MIT](https://opensource.org/licenses/MIT)|https://github.com/jarro2783/cxxopts.git| packgen |
4343
|yaml-cpp|0.7.0|[MIT](https://opensource.org/licenses/MIT)|https://github.com/jbeder/yaml-cpp.git| packgen |
44-
|[GetGitRevisionDescription.cmake](./cmake/GetGitRevisionDescription.cmake)||[Boost Software License, Version 1.0](http://www.boost.org/LICENSE_1_0.txt)||Continuous integration|
45-
|[GetGitRevisionDescription.cmake.in](./cmake/GetGitRevisionDescription.cmake.in)||[Boost Software License, Version 1.0](http://www.boost.org/LICENSE_1_0.txt)||Continuous integration|
44+
|[GetGitRevisionDescription.cmake](./cmake/GetGitRevisionDescription.cmake)||[Boost Software License, Version 1.0](https://www.boost.org/LICENSE_1_0.txt)||Continuous integration|
45+
|[GetGitRevisionDescription.cmake.in](./cmake/GetGitRevisionDescription.cmake.in)||[Boost Software License, Version 1.0](https://www.boost.org/LICENSE_1_0.txt)||Continuous integration|
4646
|json|3.10.5|[MIT](https://opensource.org/licenses/MIT)|https://github.com/nlohmann/json| yml-schema-checker |
4747
|json-schema-validator|2.1.0|[MIT](https://opensource.org/licenses/MIT)|https://github.com/pboettch/json-schema-validator| yml-schema-checker |
4848

libs/rtemodel/docs/RTE+Model+Library+Overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ This version is used in its exact form in:
243243
\$CMSIS_PACK_ROOT/ARM/CMSIS/5.7.0/
244244

245245
- in index.pidx file entry:  \<pdsc
246-
url=\"<http://www.keil.com/pack/>\" vendor=\"ARM\" name=\"CMSIS\"
246+
url=\"<https://www.keil.com/pack/>\" vendor=\"ARM\" name=\"CMSIS\"
247247
version=\"5.7.0\" />
248248

249249
- RtePackageFilter to define \"FIXED\" and \"EXCLUDED\" packs.

tools/buildmgr/docs/doxygen/Doxygen_Templates/cmsis_header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2-
<html xmlns="http://www.w3.org/1999/xhtml">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="https://www.w3.org/1999/xhtml">
33
<head>
44
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
55
<meta http-equiv="X-UA-Compatible" content="IE=9"/>

tools/buildmgr/docs/doxygen/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2-
<html xmlns="http://www.w3.org/1999/xhtml">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="https://www.w3.org/1999/xhtml">
33
<head>
44
<title>Redirect to the CMSIS Build main page after 0 seconds</title>
55
<meta http-equiv="refresh" content="0; URL=html/index.html">

tools/packchk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ verify the URL to the Pack Server, and generate a ASCII text file with the
7878
standardized name of the Software Pack.
7979

8080
```bash
81-
packchk "MyVendor.MVCM3.pdsc" -u "http://www.myvendor.com/pack" -n packname.txt
81+
packchk "MyVendor.MVCM3.pdsc" -u "https://www.myvendor.com/pack" -n packname.txt
8282
```
8383

8484
Run `packchk` on the package description file called MyVendor.MVCM3.pdsc.

tools/packgen/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ When starting the process of generating a new pack, the following workflow is re
280280
description: "TestPack description"
281281
vendor: "ARM"
282282
license: "LICENSE"
283-
url: "http://arm.com/"
283+
url: "https://arm.com/"
284284
releases:
285285
- version: "1.0.0"
286286
date: "2021-08-10"

0 commit comments

Comments
 (0)