Skip to content

Commit 7febaa8

Browse files
authored
Change link checking from markdown-link-check to lychee (#1570)
1 parent 889cb35 commit 7febaa8

File tree

5 files changed

+10
-52
lines changed

5 files changed

+10
-52
lines changed

.github/config/markdown-link-check-config.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/scripts/markdown-link-check-with-retry.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/reusable-markdown-link-check.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v4
1111

12-
- name: Install markdown-link-check
13-
# TODO(jack-berg): use latest when config file reading bug is fixed: https://github.com/tcort/markdown-link-check/issues/246
14-
run: npm install -g [email protected]
15-
16-
- name: Run markdown-link-check
17-
run: |
18-
find . -type f \
19-
-name '*.md' \
20-
-not -path './CHANGELOG.md' \
21-
| xargs .github/scripts/markdown-link-check-with-retry.sh
12+
- uses: lycheeverse/lychee-action@v2
13+
with:
14+
# remove version after next release of lychee-action
15+
lycheeVersion: latest
16+
# excluding links to pull requests and issues is done for performance
17+
args: >
18+
--include-fragments
19+
--exclude "^https://github.com/open-telemetry/opentelemetry-java-contrib/(issue|pull)/\\d+$"
20+
--max-retries 6
21+
.

jfr-events/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# OpenTelemetry Java Flight Recorder (JFR) Events
22

3-
[![Javadocs][javadoc-image]][javadoc-url]
4-
53
Create JFR events that can be recorded and viewed in Java Mission Control (JMC).
64

75
* Creates Open Telemetry Tracing/Span events for spans
@@ -20,9 +18,6 @@ Create JFR events that can be recorded and viewed in Java Mission Control (JMC).
2018
* Supports the Open Source version of JFR in Java 11.
2119
* Might support back port to OpenJDK 8, but not tested and classes are built with JDK 11 bytecode.
2220

23-
[javadoc-image]: https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-extension-jfr-events.svg
24-
[javadoc-url]: https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-extension-jfr-events
25-
2621
## Component owners
2722

2823
- [Staffan Friberg](https://github.com/sfriberg)

noop-api/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# OpenTelemetry Noop API
22

3-
[![Javadocs][javadoc-image]][javadoc-url]
4-
53
An implementation of `OpenTelemetry` that is completely no-op. Unlike `OpenTelemetry#noop()`, this
64
implementation does not support in-process context propagation at all. This means that no objects
75
are allocated nor {@link ThreadLocal}s used in an application using this implementation.
@@ -11,6 +9,3 @@ are allocated nor {@link ThreadLocal}s used in an application using this impleme
119
- [Jack Berg](https://github.com/jack-berg), New Relic
1210

1311
Learn more about component owners in [component_owners.yml](../.github/component_owners.yml).
14-
15-
[javadoc-image]: https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-extension-noop-api.svg
16-
[javadoc-url]: https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-extension-noop-api

0 commit comments

Comments
 (0)