Commit b3bf36e 1 parent ebd4457 commit b3bf36e Copy full SHA for b3bf36e
File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 127
127
# Images
128
128
s | (\.\. /)?internal(/img/[-\w ]+\. png)| $2 | g ;
129
129
s | (\]\( )(img/.*?\) )| $1 ../$2 | g if $ARGV !~ / (logs|schemas)._index/ && $ARGV !~ / otlp\/ docs/ ;
130
- s | (\]\( )([^)]+\. png\) )| $1 ../$2 | g if $ARGV =~ / \/ tmp \/ semconv\/ docs\/ general\/ attributes/ ;
131
- s | (\]\( )([^)]+\. png\) )| $1 ../$2 | g if $ARGV =~ / \/ tmp \/ semconv\/ docs\/ http\/ http-spans/ ;
130
+ s | (\]\( )([^)]+\. png\) )| $1 ../$2 | g if $ARGV =~ / \b tmp \/ semconv\/ docs\/ general\/ attributes/ ;
131
+ s | (\]\( )([^)]+\. png\) )| $1 ../$2 | g if $ARGV =~ / \b tmp \/ semconv\/ docs\/ http\/ http-spans/ ;
132
132
133
133
s |\.\.\/ README.md\b | $otelSpecRepoUrl /| g if $ARGV =~ / specification._index/ ;
134
134
s |\.\.\/ README.md\b | ..| if $ARGV =~ / specification.library-guidelines.md/ ;
135
135
136
- s |\.\. /(opentelemetry/proto/?.*)| $otlpSpecRepoUrl /tree/v$otlpSpecVers /$1 | g if $ARGV =~ / \/ tmp \/ otlp/ ;
137
- s |\.\. /README.md\b | $otlpSpecRepoUrl /| g if $ARGV =~ / \/ tmp \/ otlp/ ;
138
- s |\.\. /examples/README.md\b | $otlpSpecRepoUrl /tree/v$otlpSpecVers /examples/| g if $ARGV =~ / \/ tmp \/ otlp/ ;
136
+ s |\.\. /(opentelemetry/proto/?.*)| $otlpSpecRepoUrl /tree/v$otlpSpecVers /$1 | g if $ARGV =~ / \b tmp \/ otlp/ ;
137
+ s |\.\. /README.md\b | $otlpSpecRepoUrl /| g if $ARGV =~ / \b tmp \/ otlp/ ;
138
+ s |\.\. /examples/README.md\b | $otlpSpecRepoUrl /tree/v$otlpSpecVers /examples/| g if $ARGV =~ / \b tmp \/ otlp/ ;
139
139
140
140
s |\b README.md\b | _index.md| g if $ARGV !~ / otel\/ specification\/ protocol\/ _index.md/ ;
141
141
144
144
s | (\.\.\/ )+(supplementary-guidelines\/ compatibility\/ [^)]+)| $otelSpecRepoUrl /tree/v$otelSpecVers /$2 | g ;
145
145
146
146
# Rewrite inline links
147
- if ($ARGV =~ / \/ tmp \/ opamp/ ) {
147
+ if ($ARGV =~ / \b tmp \/ opamp/ ) {
148
148
s |\]\( ([^:\) ]*?)\. md((#.*?)?)\) | ]($1 /$2 )| g ;
149
149
} else {
150
150
s |\]\( ([^:\) ]*?\. md(#.*?)?)\) | ]({{% relref "$1 " %}})| g ;
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- SCRIPT_DIR=" $( cd ` dirname $0 ` ; pwd ) "
4
- DEST_BASE=" $( cd $SCRIPT_DIR ; cd ../../ ; pwd ) / tmp"
3
+ SCRIPT_DIR=$( dirname $0 )
4
+ DEST_BASE=tmp
5
5
6
6
# # OTel specification
7
7
You can’t perform that action at this time.
0 commit comments