Add back titles to usage #7

Merged
techknowlogick merged 1 commits from HesterG/gitea-docusaurus:add-title-usage into main 2023-05-19 06:19:59 +00:00
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