Skip to content

Commit

Permalink
[CI] Cleanup of adjust-pages.pl script
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Jun 13, 2024
1 parent 4b1f5e3 commit b9d6e4a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/content-modules/adjust-pages.pl
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,9 @@ ()

# 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;
s|(/semantic_conventions/faas.md)#function-as-a-service|$1|g;
s|(/resource/sdk.md)#resource-sdk|$1|g;
s|(event-api.md#)(data-model)|$1event-$2|g;
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|\.\.\/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 b9d6e4a

Please sign in to comment.