mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-30 08:04:33 +00:00
fix: update sed incantation for empty (#22)
Should resolve #21
I cannot seem to get this to run properly on my machine, however this is an educated guess because the Chinese translation looks correct.
zh-cn
https://docs.gitea.com/zh-cn/administration/config-cheat-sheet#repository---release-repositoryrelease
8c38ae516a/loop_docs-zh-cn.sh (L11)
en-us
https://docs.gitea.com/administration/config-cheat-sheet#repository---release-repositoryrelease
(check diff for current incantation)
Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/22
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
committed by
techknowlogick
parent
8c38ae516a
commit
d3c11f4363
@@ -8,7 +8,7 @@ else
|
||||
SED_INPLACE="sed -i ''"
|
||||
fi
|
||||
|
||||
$SED_INPLACE 's/<empty/<⁠empty/' versioned_docs/version-1.19/administration/config-cheat-sheet.en-us.md
|
||||
$SED_INPLACE 's/\\<empty>/<empty\\>/' versioned_docs/version-1.19/administration/config-cheat-sheet.en-us.md
|
||||
$SED_INPLACE 's/^url:.*//' versioned_docs/version-1.19/intro.md
|
||||
$SED_INPLACE 's/^slug:.*/slug: \//' versioned_docs/version-1.19/intro.md
|
||||
$SED_INPLACE 's/.\/guidelines-frontend.md/.\/guidelines-frontend/' versioned_docs/version-1.19/development/hacking-on-gitea.en-us.md
|
||||
|
||||
@@ -8,7 +8,7 @@ else
|
||||
SED_INPLACE="sed -i ''"
|
||||
fi
|
||||
|
||||
$SED_INPLACE 's/<empty/<⁠empty/' docs/administration/config-cheat-sheet.en-us.md
|
||||
$SED_INPLACE 's/\\<empty>/<empty\\>/' docs/administration/config-cheat-sheet.en-us.md
|
||||
$SED_INPLACE 's/^url:.*//' docs/intro.md
|
||||
$SED_INPLACE 's/^slug:.*/slug: \//' docs/intro.md
|
||||
$SED_INPLACE 's/.\/guidelines-frontend.md/.\/guidelines-frontend/' docs/development/hacking-on-gitea.en-us.md
|
||||
|
||||
Reference in New Issue
Block a user