diff options
author | Cem Keylan <cem@ckyln.com> | 2020-09-09 17:48:17 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-09-09 17:48:17 +0300 |
commit | bf99c5434d8e2afe41579f510c05be46410ba5e7 (patch) | |
tree | 274b6e1b9d26a54e3dfbde112ce86e0244e0696b /build | |
parent | 2fd9794e997632cdbf124e96a8006ade0532ab51 (diff) | |
download | website-bf99c5434d8e2afe41579f510c05be46410ba5e7.tar.gz |
remove submodule from src/docs
Diffstat (limited to 'build')
-rwxr-xr-x | build | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -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 |