We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d3f978 commit 3303969Copy full SHA for 3303969
1 file changed
doc/build_antora.sh
@@ -39,7 +39,6 @@ if [ -n "${sha}" ]; then
39
echo "Setting base-url to $base_url"
40
cp mrdocs.yml mrdocs.yml.bak
41
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
43
fi
44
45
echo "Building documentation with Antora..."
@@ -58,6 +57,7 @@ for f in $(find html -name '*.html'); do
58
57
done
59
60
if [ -n "${sha:-}" ]; then
+ perl -i -pe "s[{{BASE_URL}}][$base_url]g" html/openmethod/ref_headers.html
61
if [ -f mrdocs.yml.bak ]; then
62
mv -f mrdocs.yml.bak mrdocs.yml
63
echo "Restored original mrdocs.yml"
0 commit comments