docs: add all untracked content

This commit is contained in:
2024-01-21 13:30:14 +02:00
parent 856efab66a
commit 0dbd0baa1b
459 changed files with 8423 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
for wiki_file in $(find ./ -type f -name '*.md'); do
echo "Found file: $(basename $wiki_file)"
file_footnotes=$(grep -Eo "\^[0-9]{1,2}\^" $wiki_file)
echo -e "Found footnotes:\n$file_footnotes"
for footnote in $file_footnotes; do
#Stip ^ signs
footnote_index=$(echo $footnote | sed -e 's/\^//g')
markdown_footnote="[^$footnote_index]"
echo "Converted $footnote to $markdown_footnote"
done
done