|
96 | 96 | s|(\]\()/docs/|$1$specBasePath/semconv/|g;
|
97 | 97 | s|(\]:\s*)/docs/|$1$specBasePath/semconv/|;
|
98 | 98 |
|
99 |
| - s|\((/model/.*?)\)|($semconvSpecRepoUrl/blob/main/$1)|g; |
| 99 | + s|\((/model/.*?)\)|($semconvSpecRepoUrl/tree/v$semconvVers/$1)|g; |
100 | 100 |
|
101 |
| - # TODO: drop after fix of https://github.com/open-telemetry/semantic-conventions/issues/419 |
| 101 | + # TODO: drop after fix of https://github.com/open-telemetry/semantic-conventions/pull/1316 |
102 | 102 | s|#instrument-advice\b|#instrument-advisory-parameters|g;
|
103 |
| - # TODO: drop after fix of https://github.com/open-telemetry/semantic-conventions/pull/883 |
104 |
| - s|(\]\(process.md)#process(\))|$1$2|g; |
105 | 103 |
|
106 | 104 | # TODO: drop after fix of https://github.com/open-telemetry/semantic-conventions/issues/1313
|
107 | 105 | s|(/database/database-spans\.md)#batch-operations|$1|g;
|
108 | 106 | s|(/messaging/messaging-spans\.md)#common-messaging-operations|$1|g;
|
109 | 107 | }
|
110 | 108 |
|
111 |
| - # TODO: drop after fix of https://github.com/open-telemetry/semantic-conventions/pull/1065 |
112 |
| - s|opentelemetry-specification/tree/v1\.33\.0/specification/metrics|semantic-conventions/blob/v1\.26\.0/docs/general|g if $ARGV =~ /\/tmp\/semconv\/docs\/system\/container-metrics/; |
113 | 109 |
|
114 | 110 | # SPECIFICATION custom processing
|
115 | 111 |
|
|
134 | 130 | s|(\]\()([^)]+\.png\))|$1../$2|g if $ARGV =~ /\/tmp\/semconv\/docs\/general\/attributes/;
|
135 | 131 | s|(\]\()([^)]+\.png\))|$1../$2|g if $ARGV =~ /\/tmp\/semconv\/docs\/http\/http-spans/;
|
136 | 132 |
|
137 |
| - # Fix links that are to the title of the .md page |
138 |
| - # TODO: fix these in the spec |
139 |
| - s|(/context/api-propagators.md)#propagators-api|$1|g |
140 |
| - if $otelSpecVers le '1.34.0'; # Ensure that https://github.com/open-telemetry/opentelemetry-specification/pull/4080 is in the new release |
141 |
| - s|(/resource/sdk.md)#resource-sdk|$1|g |
142 |
| - if $semconvVers le '1.26.0'; # Ensure that https://github.com/open-telemetry/semantic-conventions/pull/1154 is in the new release |
143 |
| - s|(event-api.md#)(data-model)|$1event-$2|g |
144 |
| - if $otelSpecVers le '1.34.0'; # Ensure that https://github.com/open-telemetry/opentelemetry-specification/pull/4075 is in the new release |
145 |
| - |
146 | 133 | s|\.\.\/README.md\b|$otelSpecRepoUrl/|g if $ARGV =~ /specification._index/;
|
147 | 134 | s|\.\.\/README.md\b|..| if $ARGV =~ /specification.library-guidelines.md/;
|
148 | 135 |
|
|
0 commit comments