mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-12 04:44:14 +00:00
Update 'loop_docs.sh'
This commit is contained in:
1 parent
ea1c892e72
commit
4263d7de17
1 file changed
+1
-1
+1
-1
@@ -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