mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
Update 'loop_docs.sh'
This commit is contained in:
@@ -16,7 +16,7 @@ for file in `find ./docs/ -name "*.md"`; do
|
|||||||
# note only works on linux, forget about it when attempting to run on macos
|
# note only works on linux, forget about it when attempting to run on macos
|
||||||
# hide hugo toc
|
# hide hugo toc
|
||||||
sed -i 's/{{< toc >}}//' $file
|
sed -i 's/{{< toc >}}//' $file
|
||||||
sed -i 's/{{< version >}}/1.18.2/g' $file
|
sed -i 's/{{< version >}}/1.18.5/g' $file
|
||||||
sed -i 's/{{< relref "doc/\/docs/g' $file
|
sed -i 's/{{< relref "doc/\/docs/g' $file
|
||||||
sed -i 's/" >}}//g' $file
|
sed -i 's/" >}}//g' $file
|
||||||
sed -i 's/\*\*Table of Contents\*\*//' $file
|
sed -i 's/\*\*Table of Contents\*\*//' $file
|
||||||
|
|||||||
Reference in New Issue
Block a user