Skip to content

Commit

Permalink
[CI] Fix some github.com links into OTel org (#5955)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Jan 16, 2025
1 parent 98a5289 commit 3fd0bb5
Show file tree
Hide file tree
Showing 6 changed files with 1,264 additions and 122 deletions.
17 changes: 6 additions & 11 deletions .htmltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ IgnoreDirs:
# TODO drop next lines after https://github.com/open-telemetry/opentelemetry.io/issues/5555 is fixed for these pages:
- ^zh/docs/concepts/signals/baggage/
- ^zh/docs/zero-code/php/
# TODO drop the following config once this page is updated to reflect the corresponding `en`
# page and the link 404 (detailed below) are resolved:
# zh/docs/contributing/index.html
# Non-OK status: 404 --> https://github.com/open-telemetry/community/blob/main/CONTRIBUTING.md
- ^zh/docs/contributing/
# DO NOT EDIT! IgnoreDirs list is auto-generated from markdown file front matter.
IgnoreInternalURLs: # list of paths
IgnoreURLs: # list of regexs of paths or URLs to be ignored
Expand Down Expand Up @@ -62,7 +67,7 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
- ^https?://github\.com/open-telemetry/opentelemetry.io/tree/

# Ignore some links to GH repo content for now, most 4XX
- ^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)/
- ^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)/
- ^https?://github\.com/open-telemetry/opentelemetry-demo/blob/main/src/(imageprovider|loadgenerator|otelcollector|.*service)
# TODO drop the following after https://github.com/open-telemetry/semantic-conventions/pull/1753 is merged and the submodule updated:
- ^https?://github\.com/in-toto/
Expand All @@ -73,16 +78,6 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored

# TODO: drop after fix to https://github.com/rust-lang/crates.io/issues/788
- ^https://crates\.io/crates
# TODO: drop after fix to https://github.com/micrometer-metrics/micrometer-docs/issues/239
- ^https://micrometer\.io/docs
# TODO: ensure .json isn't set as an alternate in ecosystem/registry/index.html and then drop:
- ^https://opentelemetry.io/ecosystem/registry/index.json
# TODO drop after fix to https://github.com/open-telemetry/opentelemetry.io/issues/3818
- ^https://oncallmemaybe.com
# TODO drop after https://github.com/open-telemetry/opentelemetry-specification/pull/3834 is merged
- ^https://wikipedia\.org/wiki/Monotonic_function
# TODO drop after https://github.com/open-telemetry/opamp-spec/pull/179 is merged into this repo
- ^http://www.watersprings.org/
# TODO move into content/en/blog/2023/humans-of-otel.md once https://github.com/open-telemetry/opentelemetry.io/issues/3889 is implemented
- ^https://shorturl.at/osHRX$
# TODO move into content/en/blog/2023/contributing-to-otel/index.md once https://github.com/open-telemetry/opentelemetry.io/issues/3889 is implemented
Expand Down
7 changes: 7 additions & 0 deletions content/zh/docs/contributing/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
title: 贡献
description: 了解如何为 OpenTelemetry 文档做贡献。
weight: 980
htmltest:
IgnoreDirs:
# TODO drop the following config once this page is updated to reflect the corresponding `en`
# page and the link 404 (detailed below) are resolved:
# zh/docs/contributing/index.html
# Non-OK status: 404 --> https://github.com/open-telemetry/community/blob/main/CONTRIBUTING.md
- ^zh/docs/contributing/
default_lang_commit: 8603bc8
---

Expand Down
6 changes: 0 additions & 6 deletions data/ecosystem/vendors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@
contact:
oss: true
commercial: true
- name: F5
nativeOTLP: true
url: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/f5cloudexporter
contact:
oss: false
commercial: true
- name: Google Cloud Platform
nativeOTLP: true
url: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/googlecloudexporter
Expand Down
4 changes: 2 additions & 2 deletions data/registry/instrumentation-java-micrometer-tracing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ authors:
url: https://github.com/micrometer-metrics
urls:
website: https://micrometer.io/
docs: https://micrometer.io/docs/tracing#_micrometer_tracing_opentelemetry_setup
createdAt: '2024-08-06'
docs: https://docs.micrometer.io/micrometer/reference/implementations/otlp.html
createdAt: 2024-08-06
isNative: true
4 changes: 3 additions & 1 deletion scripts/content-modules/adjust-pages.pl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ ($$)
s|\.\./README.md\b|$otlpSpecRepoUrl/|g if $ARGV =~ /\btmp\/otlp/;
s|\.\./examples/README.md\b|$otlpSpecRepoUrl/tree/v$otlpSpecVers/examples/|g if $ARGV =~ /\btmp\/otlp/;

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

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

0 comments on commit 3fd0bb5

Please sign in to comment.