mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
add back titles to usage
This commit is contained in:
@@ -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
|
$SED_INPLACE 's/weight:/sidebar_position:/g' $file
|
||||||
done
|
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
|
for file in versioned_docs/version-1.19/zh-cn/*; do
|
||||||
if [ -d $file ]; then
|
if [ -d $file ]; then
|
||||||
continue
|
continue
|
||||||
|
|||||||
@@ -29,11 +29,6 @@ done
|
|||||||
|
|
||||||
$SED_INPLACE 's/</⁠/' versioned_docs/version-1.19/contributing/guidelines-backend.en-us.md
|
$SED_INPLACE 's/</⁠/' 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
|
for file in versioned_docs/version-1.19/*; do
|
||||||
if [ -d $file ]; then
|
if [ -d $file ]; then
|
||||||
continue
|
continue
|
||||||
|
|||||||
@@ -35,12 +35,6 @@ for file in `find ./docs/zh-cn/ -name "*.md"`; do
|
|||||||
$SED_INPLACE 's/weight:/sidebar_position:/g' $file
|
$SED_INPLACE 's/weight:/sidebar_position:/g' $file
|
||||||
done
|
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
|
for file in docs/zh-cn/*; do
|
||||||
if [ -d $file ]; then
|
if [ -d $file ]; then
|
||||||
continue
|
continue
|
||||||
|
|||||||
@@ -30,11 +30,6 @@ for file in `find ./docs/ -name "*.md"`; do
|
|||||||
#sed -i 's/^slug:.*//' $file
|
#sed -i 's/^slug:.*//' $file
|
||||||
done
|
done
|
||||||
|
|
||||||
for file in `find ./docs/usage/ -name "*.md"`; do
|
|
||||||
# hide hugo toc
|
|
||||||
$SED_INPLACE 's/title:.*//' $file
|
|
||||||
done
|
|
||||||
|
|
||||||
for file in docs/*; do
|
for file in docs/*; do
|
||||||
if [ -d $file ]; then
|
if [ -d $file ]; then
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user