diff --git a/build.sh b/build.sh index 80fe371..2333e3a 100755 --- a/build.sh +++ b/build.sh @@ -2,11 +2,17 @@ FILE="$(realpath "${BASH_SOURCE[0]}")" ROOT="$(dirname "${FILE}")" +INPUT="${ROOT}/in" OUTPUT="${ROOT}/out" rm --force --recursive "${OUTPUT}" mkdir --parents "${OUTPUT}" +FILES=() +for f in $(cat "${ROOT}/in.txt") ; do + FILES+=("${INPUT}/${f}.md") +done + pandoc \ --verbose \ --standalone \ @@ -20,4 +26,5 @@ pandoc \ --write 'revealjs' \ --variable revealjs-url='/sw/revealjs/up' \ --variable slideNumber \ -"${ROOT}/index.md" +\ +"${FILES[@]}" diff --git a/in.txt b/in.txt new file mode 100644 index 0000000..981bdd3 --- /dev/null +++ b/in.txt @@ -0,0 +1,3 @@ +info +plan +index diff --git a/index.md b/in/index.md similarity index 77% rename from index.md rename to in/index.md index 03c8992..6b38711 100644 --- a/index.md +++ b/in/index.md @@ -1,33 +1,3 @@ ---- -author: Marc Beninca -date: 2024 / 03 -lang: fr-FR -title: Git PPP -subtitle: Possibilités, Porcelaine & Plomberie ---- - -# Plan {-} - -::: {.columns} -::: {.column width="33%"} -* Possibilités - * Outils - * Concepts -::: -::: {.column width="33%"} -* Porcelaine - * Bases - * Local - * Collaborer -::: -::: {.column width="33%"} -* Plomberie - * Basique - * Pointeurs - * Objets -::: -::: - # Possibilités 1. Outils diff --git a/in/info.md b/in/info.md new file mode 100644 index 0000000..f1b73d5 --- /dev/null +++ b/in/info.md @@ -0,0 +1,7 @@ +--- +author: Marc Beninca +date: 2024 / 03 +lang: fr-FR +title: Git PPP +subtitle: Possibilités, Porcelaine & Plomberie +--- diff --git a/in/plan.md b/in/plan.md new file mode 100644 index 0000000..c983b25 --- /dev/null +++ b/in/plan.md @@ -0,0 +1,21 @@ +# Plan {-} + +::: {.columns} +::: {.column width="33%"} +* Possibilités + * Outils + * Concepts +::: +::: {.column width="33%"} +* Porcelaine + * Bases + * Local + * Collaborer +::: +::: {.column width="33%"} +* Plomberie + * Basique + * Pointeurs + * Objets +::: +:::