Skip to content

Commit 3303969

Browse files
committed
wip
1 parent 4d3f978 commit 3303969

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/build_antora.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ if [ -n "${sha}" ]; then
3939
echo "Setting base-url to $base_url"
4040
cp mrdocs.yml mrdocs.yml.bak
4141
perl -i -pe 's{^\s*base-url:.*$}{base-url: '"$base_url/"'}' mrdocs.yml
42-
perl -i -pe "s[{{BASE_URL}}][$base_url]g" html/openmethod/ref_headers.html
4342
fi
4443

4544
echo "Building documentation with Antora..."
@@ -58,6 +57,7 @@ for f in $(find html -name '*.html'); do
5857
done
5958

6059
if [ -n "${sha:-}" ]; then
60+
perl -i -pe "s[{{BASE_URL}}][$base_url]g" html/openmethod/ref_headers.html
6161
if [ -f mrdocs.yml.bak ]; then
6262
mv -f mrdocs.yml.bak mrdocs.yml
6363
echo "Restored original mrdocs.yml"

0 commit comments

Comments
 (0)