add back titles to usage

This commit is contained in:
nickname
2023-05-19 09:52:59 +08:00
parent bd8a01667f
commit 45c9538894
4 changed files with 0 additions and 22 deletions
-6
View File
@@ -35,12 +35,6 @@ for file in `find ./docs/zh-cn/ -name "*.md"`; do
$SED_INPLACE 's/weight:/sidebar_position:/g' $file
done
for file in `find ./docs/zh-cn/usage/ -name "*.md"`; do
# note only works on linux, forget about it when attempting to run on macos
# hide hugo toc
$SED_INPLACE 's/title:.*//' $file
done
for file in docs/zh-cn/*; do
if [ -d $file ]; then
continue