We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e9e217 commit 7a01384Copy full SHA for 7a01384
opentelemetry-semantic-conventions/scripts/generate-consts-from-spec.sh
@@ -58,4 +58,8 @@ expression='
58
# TODO: This workaround should be removed once the upstream generator handles this correctly.
59
"${SED[@]}" 's/<key>/`key`/g' src/attribute.rs
60
61
+# Fix bare URLs in doc comments: replace 'https://...' or 'http://...' with '<https://...>'
62
+"${SED[@]}" -E 's|(///.*)(https?://[^ ]*)|\1<\2>|g' src/metric.rs
63
+"${SED[@]}" -E 's|(///.*)(https?://[^ ]*)|\1<\2>|g' src/attribute.rs
64
+
65
cargo fmt
0 commit comments