diff --git a/README.md b/README.md index 2b03e9b69c98312fcf1fa7f53aee616f9392dba7..6699f6cc98ca74ade1e4b853c13b6717db739e00 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ sh launch-me-once-after-git-clone-to-auto-update-readme.sh ### Rustkathon 1 (mars 2019) - [Le protocole DUP](https://librelois.duniter.io/slides/rustkathon2019_1/dup-protocol/) + (Replay [peertube](https://tube.p2p.legal/videos/watch/d88f37e6-99b3-41cb-ba9a-2a1bd3c57be0) | [youtube](https://www.youtube.com/watch?v=1ZOb7XDk3Dc)) - [DURS (DUniter-RuSt)](https://librelois.duniter.io/slides/rustkathon2019_1/durs/) - [Écosystème technique de la Ğ1](https://librelois.duniter.io/slides/rustkathon2019_1/g1-ecosystem/) - [Rust & Web Assembly](https://librelois.duniter.io/slides/rustkathon2019_1/wasm/) diff --git a/launch-me-once-after-git-clone-to-auto-update-readme.sh b/launch-me-once-after-git-clone-to-auto-update-readme.sh index 7f25fb157606ad4852b0c0ac5c47cd3cebff5177..382e95e5a57358c6b012030e7dd66148941f9dfc 100644 --- a/launch-me-once-after-git-clone-to-auto-update-readme.sh +++ b/launch-me-once-after-git-clone-to-auto-update-readme.sh @@ -2,6 +2,7 @@ # to launch me, type in terminal : sh launch-me-once-after-git-clone-to-auto-update-readme.sh -mkdir -p .git/hooks/ -cp update-readme.sh .git/hooks/pre-commit +cp launch-me-once-after-git-clone-to-auto-update-readme.sh .git/hooks/pre-commit chmod 755 .git/hooks/pre-commit + +sh update-readme.sh \ No newline at end of file diff --git a/public/42l/2019-11-13-g1/markdown.md b/public/42l/2019-11-13-g1/slideshow.md similarity index 100% rename from public/42l/2019-11-13-g1/markdown.md rename to public/42l/2019-11-13-g1/slideshow.md diff --git a/public/rml14/dunitrust/markdown.md b/public/rml14/dunitrust/slideshow.md similarity index 100% rename from public/rml14/dunitrust/markdown.md rename to public/rml14/dunitrust/slideshow.md diff --git a/public/rml14/pkstl/markdown.md b/public/rml14/pkstl/slideshow.md similarity index 100% rename from public/rml14/pkstl/markdown.md rename to public/rml14/pkstl/slideshow.md diff --git a/public/rustkathon2019_1/dup-protocol/markdown.md b/public/rustkathon2019_1/dup-protocol/slideshow.md similarity index 100% rename from public/rustkathon2019_1/dup-protocol/markdown.md rename to public/rustkathon2019_1/dup-protocol/slideshow.md diff --git a/public/rustkathon2019_1/durs/markdown.md b/public/rustkathon2019_1/durs/slideshow.md similarity index 100% rename from public/rustkathon2019_1/durs/markdown.md rename to public/rustkathon2019_1/durs/slideshow.md diff --git a/public/rustkathon2019_1/g1-ecosystem/markdown.md b/public/rustkathon2019_1/g1-ecosystem/slideshow.md similarity index 100% rename from public/rustkathon2019_1/g1-ecosystem/markdown.md rename to public/rustkathon2019_1/g1-ecosystem/slideshow.md diff --git a/public/rustkathon2019_1/wasm/markdown.md b/public/rustkathon2019_1/wasm/slideshow.md similarity index 100% rename from public/rustkathon2019_1/wasm/markdown.md rename to public/rustkathon2019_1/wasm/slideshow.md diff --git a/public/rustkathon2019_2/dunitrust/markdown.md b/public/rustkathon2019_2/dunitrust/slideshow.md similarity index 100% rename from public/rustkathon2019_2/dunitrust/markdown.md rename to public/rustkathon2019_2/dunitrust/slideshow.md diff --git a/public/rustkathon2019_2/tdd/markdown.md b/public/rustkathon2019_2/tdd/slideshow.md similarity index 100% rename from public/rustkathon2019_2/tdd/markdown.md rename to public/rustkathon2019_2/tdd/slideshow.md diff --git a/update-readme.sh b/update-readme.sh index 7beeb993ec09049f867457bc329a25ba8df1ca12..87c09d0e7c84c0f44e78fc5d467b59dff88ef53e 100644 --- a/update-readme.sh +++ b/update-readme.sh @@ -23,9 +23,13 @@ for folder in `ls public/` fi for slide in `ls public/$folder/` do - if test "slideshow.md" != $slide + if test "event.md" != $slide then res="${res}- [`sed -n -e 's/^\##* *\(.*\)$/\1/p' public/${folder}/${slide}/slideshow.md | head -n 1`](${urlRoot}/${folder}/${slide}/)\n" fi + if test "!!nothing!!" != "`cat public/${folder}/${slide}/video.md 2>/dev/null || echo "!!nothing!!"`" + then res="${res} `cat public/${folder}/${slide}/video.md`\n" + fi + done ;; esac