Skip to content

Commit 3fd0bb5

Browse files
authored
[CI] Fix some github.com links into OTel org (#5955)
1 parent 98a5289 commit 3fd0bb5

File tree

6 files changed

+1264
-122
lines changed

6 files changed

+1264
-122
lines changed

.htmltest.yml

+6-11
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ IgnoreDirs:
1515
# TODO drop next lines after https://github.com/open-telemetry/opentelemetry.io/issues/5555 is fixed for these pages:
1616
- ^zh/docs/concepts/signals/baggage/
1717
- ^zh/docs/zero-code/php/
18+
# TODO drop the following config once this page is updated to reflect the corresponding `en`
19+
# page and the link 404 (detailed below) are resolved:
20+
# zh/docs/contributing/index.html
21+
# Non-OK status: 404 --> https://github.com/open-telemetry/community/blob/main/CONTRIBUTING.md
22+
- ^zh/docs/contributing/
1823
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
1924
IgnoreInternalURLs: # list of paths
2025
IgnoreURLs: # list of regexs of paths or URLs to be ignored
@@ -62,7 +67,7 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
6267
- ^https?://github\.com/open-telemetry/opentelemetry.io/tree/
6368

6469
# Ignore some links to GH repo content for now, most 4XX
65-
- ^https?://github\.com/open-telemetry/(build-tools|community|opentelemetry-collector-contrib|opentelemetry-collector|opentelemetry-dotnet-instrumentation|opentelemetry-helm-charts|opentelemetry-java-instrumentation|opentelemetry-java|opentelemetry-operator|opentelemetry-proto|opentelemetry-python-contrib|opentelemetry-specification|oteps|semantic-conventions|sig-end-user|weaver)/
70+
- ^https?://github\.com/open-telemetry/(opentelemetry-collector-contrib|opentelemetry-collector|opentelemetry-dotnet-instrumentation|opentelemetry-helm-charts|opentelemetry-java-instrumentation|opentelemetry-java|opentelemetry-operator|opentelemetry-proto|opentelemetry-python-contrib|opentelemetry-specification|oteps|semantic-conventions|sig-end-user)/
6671
- ^https?://github\.com/open-telemetry/opentelemetry-demo/blob/main/src/(imageprovider|loadgenerator|otelcollector|.*service)
6772
# TODO drop the following after https://github.com/open-telemetry/semantic-conventions/pull/1753 is merged and the submodule updated:
6873
- ^https?://github\.com/in-toto/
@@ -73,16 +78,6 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
7378

7479
# TODO: drop after fix to https://github.com/rust-lang/crates.io/issues/788
7580
- ^https://crates\.io/crates
76-
# TODO: drop after fix to https://github.com/micrometer-metrics/micrometer-docs/issues/239
77-
- ^https://micrometer\.io/docs
78-
# TODO: ensure .json isn't set as an alternate in ecosystem/registry/index.html and then drop:
79-
- ^https://opentelemetry.io/ecosystem/registry/index.json
80-
# TODO drop after fix to https://github.com/open-telemetry/opentelemetry.io/issues/3818
81-
- ^https://oncallmemaybe.com
82-
# TODO drop after https://github.com/open-telemetry/opentelemetry-specification/pull/3834 is merged
83-
- ^https://wikipedia\.org/wiki/Monotonic_function
84-
# TODO drop after https://github.com/open-telemetry/opamp-spec/pull/179 is merged into this repo
85-
- ^http://www.watersprings.org/
8681
# TODO move into content/en/blog/2023/humans-of-otel.md once https://github.com/open-telemetry/opentelemetry.io/issues/3889 is implemented
8782
- ^https://shorturl.at/osHRX$
8883
# TODO move into content/en/blog/2023/contributing-to-otel/index.md once https://github.com/open-telemetry/opentelemetry.io/issues/3889 is implemented

content/zh/docs/contributing/_index.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
title: 贡献
33
description: 了解如何为 OpenTelemetry 文档做贡献。
44
weight: 980
5+
htmltest:
6+
IgnoreDirs:
7+
# TODO drop the following config once this page is updated to reflect the corresponding `en`
8+
# page and the link 404 (detailed below) are resolved:
9+
# zh/docs/contributing/index.html
10+
# Non-OK status: 404 --> https://github.com/open-telemetry/community/blob/main/CONTRIBUTING.md
11+
- ^zh/docs/contributing/
512
default_lang_commit: 8603bc8
613
---
714

data/ecosystem/vendors.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,6 @@
120120
contact:
121121
oss: true
122122
commercial: true
123-
- name: F5
124-
nativeOTLP: true
125-
url: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/f5cloudexporter
126-
contact:
127-
oss: false
128-
commercial: true
129123
- name: Google Cloud Platform
130124
nativeOTLP: true
131125
url: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/googlecloudexporter

data/registry/instrumentation-java-micrometer-tracing.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ authors:
1111
url: https://github.com/micrometer-metrics
1212
urls:
1313
website: https://micrometer.io/
14-
docs: https://micrometer.io/docs/tracing#_micrometer_tracing_opentelemetry_setup
15-
createdAt: '2024-08-06'
14+
docs: https://docs.micrometer.io/micrometer/reference/implementations/otlp.html
15+
createdAt: 2024-08-06
1616
isNative: true

scripts/content-modules/adjust-pages.pl

+3-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ ($$)
159159
s|\.\./README.md\b|$otlpSpecRepoUrl/|g if $ARGV =~ /\btmp\/otlp/;
160160
s|\.\./examples/README.md\b|$otlpSpecRepoUrl/tree/v$otlpSpecVers/examples/|g if $ARGV =~ /\btmp\/otlp/;
161161

162-
s|\bREADME.md\b|_index.md|g if $ARGV !~ /otel\/specification\/protocol\/_index.md/;
162+
s|\bREADME.md\b|_index.md|g if $ARGV !~ /otel\/specification\/protocol\/_index.md/
163+
# TODO drop once semconv PR is merged and module is updated in this repo
164+
&& $ARGV !~ /semconv\/docs\/non-normative\/code-generation.md/;
163165

164166
# Rewrite paths that are outside of the main spec folder as external links
165167
s|(\.\.\/)+(experimental\/[^)]+)|$otelSpecRepoUrl/tree/v$otelSpecVers/$2|g;

0 commit comments

Comments
 (0)