diff --git a/scripts/gen_docs_sidebar.sh b/scripts/gen_docs_sidebar.sh index c7e0d29bf..2b354b54f 100755 --- a/scripts/gen_docs_sidebar.sh +++ b/scripts/gen_docs_sidebar.sh @@ -8,6 +8,7 @@ # The script will ignore any files that are not markdown files. # Usage: bash scripts/gen_docs_sidebar.sh > docs/_sidebar.md +{ echo "* [Readme](/)" for folder in $(find docs/*/ | sort -f); do @@ -29,3 +30,4 @@ for folder in $(find docs/*/ | sort -f); do done fi done +} > docs/_sidebar.md