From 45c953889495a216beecf5c99c838d2b8a848db2 Mon Sep 17 00:00:00 2001 From: nickname Date: Fri, 19 May 2023 09:52:59 +0800 Subject: [PATCH] add back titles to usage --- loop_docs-19-zh-cn.sh | 6 ------ loop_docs-19.sh | 5 ----- loop_docs-zh-cn.sh | 6 ------ loop_docs.sh | 5 ----- 4 files changed, 22 deletions(-) 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/