mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-07 02:20:31 +00:00
main-nightly is version name for nightly version
This commit is contained in:
1 parent
8f01d3dfa7
commit
511a7f80ff
1 file changed
+1
-1
+1
-1
@@ -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.19.3/g' $file
|
||||
$SED_INPLACE 's/{{< version >}}/main-nightly/g' $file
|
||||
$SED_INPLACE 's/{{< relref "doc/\/docs/g' $file
|
||||
$SED_INPLACE 's/" >}}//g' $file
|
||||
$SED_INPLACE 's/\*\*Table of Contents\*\*//' $file
|
||||
|
||||
Reference in new issue
Block a user