Skip to content

Commit

Permalink
Actually codify the TODO drop condition
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Jun 13, 2024
1 parent 34d3fbc commit 20dd993
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/content-modules/adjust-pages.pl
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,12 @@ ()

# Fix links that are to the title of the .md page
# TODO: fix these in the spec
s|(/context/api-propagators.md)#propagators-api|$1|g; # Waiting on https://github.com/open-telemetry/opentelemetry-specification/pull/4080
s|(/resource/sdk.md)#resource-sdk|$1|g; # Waiting on https://github.com/open-telemetry/semantic-conventions/pull/1154
s|(event-api.md#)(data-model)|$1event-$2|g; # Waiting on https://github.com/open-telemetry/opentelemetry-specification/pull/4075
s|(/context/api-propagators.md)#propagators-api|$1|g
if $otelSpecVers le '1.34.0'; # Ensure that https://github.com/open-telemetry/opentelemetry-specification/pull/4080 is in the new release
s|(/resource/sdk.md)#resource-sdk|$1|g
if $semconvVers le '1.26.0'; # Ensure that https://github.com/open-telemetry/semantic-conventions/pull/1154 is in the new release
s|(event-api.md#)(data-model)|$1event-$2|g
if $otelSpecVers le '1.34.0'; # Ensure that https://github.com/open-telemetry/opentelemetry-specification/pull/4075 is in the new release

s|\.\.\/README.md\b|$otelSpecRepoUrl/|g if $ARGV =~ /specification._index/;
s|\.\.\/README.md\b|..| if $ARGV =~ /specification.library-guidelines.md/;
Expand Down

0 comments on commit 20dd993

Please sign in to comment.