aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild13
1 files changed, 2 insertions, 11 deletions
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