# How this doc is build
-## mdr
+## This is basically markdown
+All documentation files are in docs.
+They are [mdr](https://github.com/fennecdjay/mdr) files.
+Along with them is a `list` file, helping to build the summary.
## makefile
-## mkdocs
+## sciprt
+
+## Mdbook
--- /dev/null
+# Contributors
+
+@exec git show "master:README.md" > master_readme.md
+
+@exec sed "$(/usr/bin/cat -n master_readme.md | grep "ALL-CONTRIBUTOR" | cut -f1 | tr '\n' '\t' | sed 's/\t/,/')!d" master_readme.md
+
+@exec rm master_readme.md
+++ /dev/null
-# Control Flow
-
-## Repeats
-let start simple ;-)
Benchmarks.md
BuildingTheDocs.md
+
+-----
+Contributors.md
[book]
authors = ["Jérémie Astor"]
title = "Gwion"
-theme = "rust"
+
[output.html]
+default-theme = "rust"
additional-css = ["custom.css"]
[output.html.fold]
}
if [ $1 ]
-then doc2src $1
+#then [[ $1 == *".mdr" ]] && doc2src $1
+then [ -f $1 ] && doc2src $1
+echo $1
else runall
fi
handle() {
while read -r line
do
- if [ -z "$line" ]
- then echo ""
+ if [ -z "$line" ] || [[ "$line" == "-----"* ]]
+ then echo "$line"
continue
fi
if [ -f "$1/${line}r" ]
}
while true
-do [[ $1 == *".mdr" ]] &&
- sh scripts/mdr2mdbook.sh $(wait);
+do
+ file=$(wait)
+ sh scripts/mdr2mdbook.sh $file;
done