Skip to content

Commit 6015f4e

Browse files
authored
[skip-changelog] Fixed links in docs. Narrowed the amount of files checked by the link-checker. (#1233)
* Fixed internal links to grpc docs * Only check docs/*.md and various README.md for broken links Otherwise it will check also pytest-generated READMEs and all .md files included in unit tests data files. * Round of go mod tidy in docsgen module
1 parent 2894e78 commit 6015f4e

File tree

4 files changed

+38
-68
lines changed

4 files changed

+38
-68
lines changed

Diff for: Taskfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ tasks:
6565
- |
6666
npx -p markdown-link-check -c '
6767
STATUS=0
68-
for file in $(find -name "*.md"); do
68+
for file in $(find docs -name "*.md") README.md test/README.md client_example/README.md; do
6969
markdown-link-check -c markdown-link-check-config.json -q "$file"
7070
STATUS=$(( $STATUS + $? ))
7171
done

Diff for: docs/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,5 +350,5 @@ metrics:
350350

351351
[configuration documentation]: configuration.md
352352
[client_example]: https://github.com/arduino/arduino-cli/blob/master/client_example
353-
[grpc reference]: ../rpc/commands
353+
[grpc reference]: rpc/commands.md
354354
[prometheus]: https://prometheus.io/

Diff for: docs/integration-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ tracker] if you’ve got a use case that doesn’t fit one of the three pillars.
9999
[grpc]: https://grpc.io/
100100
[rpc]: https://en.wikipedia.org/wiki/Remote_procedure_call
101101
[daemon mode]: commands/arduino-cli_daemon.md
102-
[grpc interface reference]: ../rpc/commands
102+
[grpc interface reference]: rpc/commands.md
103103
[grpc supported languages]: https://grpc.io/docs/languages/
104104
[arduino cli repository]: https://github.com/arduino/arduino-cli
105105
[grpc client example]: https://github.com/arduino/arduino-cli/blob/master/client_example

0 commit comments

Comments
 (0)