This commit is contained in:
techknowlogick
2023-04-30 10:30:42 +08:00
parent 77d0cf104f
commit d937b296e8

View File

@@ -22,7 +22,7 @@ $SED_INPLACE 's/"version":.*/"version":"1.20-dev"/' static/latest-swagger.json
for file in `find ./docs/ -name "*.md"`; do
# hide hugo toc
$SED_INPLACE 's/{{< toc >}}//' $file
$SED_INPLACE 's/{{< version >}}/1.18.5/g' $file
$SED_INPLACE 's/{{< version >}}/1.19.2/g' $file
$SED_INPLACE 's/{{< relref "doc/\/docs/g' $file
$SED_INPLACE 's/" >}}//g' $file
$SED_INPLACE 's/\*\*Table of Contents\*\*//' $file