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

View File

@@ -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

View File

@@ -29,11 +29,6 @@ done
$SED_INPLACE 's/</&#8288;/' versioned_docs/version-1.19/contributing/guidelines-backend.en-us.md
for file in `find ./versioned_docs/version-1.19/usage/ -name "*.md"`; do
# hide hugo toc
$SED_INPLACE 's/title:.*//' $file
done
for file in versioned_docs/version-1.19/*; do
if [ -d $file ]; then
continue

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

View File

@@ -30,11 +30,6 @@ for file in `find ./docs/ -name "*.md"`; do
#sed -i 's/^slug:.*//' $file
done
for file in `find ./docs/usage/ -name "*.md"`; do
# hide hugo toc
$SED_INPLACE 's/title:.*//' $file
done
for file in docs/*; do
if [ -d $file ]; then
continue