diff --git a/loop_docs-19-zh-cn.sh b/loop_docs-19-zh-cn.sh index 8f0eace7..8f410edc 100644 --- a/loop_docs-19-zh-cn.sh +++ b/loop_docs-19-zh-cn.sh @@ -35,12 +35,6 @@ for file in `find ./versioned_docs/version-1.19/zh-cn/ -name "*.md"`; do $SED_INPLACE 's/weight:/sidebar_position:/g' $file done -for file in `find ./versioned_docs/version-1.19/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 versioned_docs/version-1.19/zh-cn/*; do if [ -d $file ]; then continue diff --git a/loop_docs-19.sh b/loop_docs-19.sh index 7652c877..c43bae4c 100644 --- a/loop_docs-19.sh +++ b/loop_docs-19.sh @@ -29,11 +29,6 @@ done $SED_INPLACE 's/