forked from AkkomaGang/akkoma
dfae0050af
I understand that this change is quite unreadable and hard to review, sorry for forgetting to do atomic commits. This patch does not change too much content wise, it just * Gets everything from gitlab wiki * Removes some specific gitlab hacks * Formats all documentation file names to be in snake case so they look the same way as our code does
12 lines
204 B
Bash
Executable file
12 lines
204 B
Bash
Executable file
#!/bin/sh
|
|
lstr=`ls -A1 *.md`
|
|
readarray -t lsarr <<<"$lstr"
|
|
for i in "${lsarr[@]}"
|
|
do
|
|
:
|
|
echo $i
|
|
title=`echo $i | sed 's/-/\ /g' | sed 's/\.md//g'`
|
|
echo $title
|
|
echo -e "# $title\n$(cat $i)" > $i
|
|
done
|
|
|