From bf99c5434d8e2afe41579f510c05be46410ba5e7 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 9 Sep 2020 17:48:17 +0300 Subject: remove submodule from src/docs --- build | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'build') diff --git a/build b/build index 1d4484e..74c7d9b 100755 --- a/build +++ b/build @@ -90,15 +90,6 @@ site_index() { done } -docs_index() ( - cp templates/docs-index src/docs.md - find src/docs ! -name .git ! -name README | sort | while read -r file; do - case "$file" in src/docs) continue; esac - [ -d "$file" ] && printf '### %s\n' "${file#src/docs/}" && continue - filedest=${file#src} filedest=${filedest%.*}.html - printf '[%s](%s)\n' "$(gettitle "$file")" "$filedest" - done >> src/docs.md -) genrss() { find "$1" -type f ! -name index.md | sort -r | while read -r post ; do @@ -127,8 +118,8 @@ main() { # Recreate docs directory rm -rf docs; mkdir -p docs - # Generate the indexes for blog and the wiki - site_index; blog_index; docs_index + # Generate the indexes. + site_index; blog_index # Generate rss feeds genrss index news index.html > src/news.xml -- cgit v1.2.3