From 8209212d813eba35f218a735a347c5a5ba7e2c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Sun, 18 Aug 2024 21:18:16 +0200 Subject: [PATCH] feat: Inipi --- .gitattributes | 3 +- build.sh | 25 ++++++++--- minify.py | 3 ++ requirements.txt | 2 +- sources/_static/custom.css | 6 +++ sources/conf.py | 2 +- sources/index.rst | 6 +++ sources/inipi/_note-lakota.md | 31 +++++++++++++ ...re_lame_deer-la-nation-bison-s-avance.opus | 3 ++ ...ame_deer-priere-aux-quatre-directions.opus | 3 ++ sources/inipi/images/arbre-rouge.png | 3 ++ sources/inipi/nation-bison-avance.md | 35 +++++++++++++++ sources/inipi/priere-aux-quatre-directions.md | 44 +++++++++++++++++++ 13 files changed, 158 insertions(+), 8 deletions(-) create mode 100644 sources/inipi/_note-lakota.md create mode 100644 sources/inipi/audio/archie_fire_lame_deer-la-nation-bison-s-avance.opus create mode 100644 sources/inipi/audio/archie_fire_lame_deer-priere-aux-quatre-directions.opus create mode 100644 sources/inipi/images/arbre-rouge.png create mode 100644 sources/inipi/nation-bison-avance.md create mode 100644 sources/inipi/priere-aux-quatre-directions.md diff --git a/.gitattributes b/.gitattributes index f70ff47..3c5030c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ +*.jpg filter=lfs diff=lfs merge=lfs -text +*.opus filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text *.svg filter=lfs diff=lfs merge=lfs -text -*.jpg filter=lfs diff=lfs merge=lfs -text diff --git a/build.sh b/build.sh index 2d3428b..5f9fb1c 100755 --- a/build.sh +++ b/build.sh @@ -1,28 +1,43 @@ #!/bin/bash set -eu +DST_DEV='_live' +DST_PROD='luma' SRC_DIR='sources' -DST_DIR='luma' + +copy_audio_files() { + local dest + local folder + + dest="${1}" + folder="${2}" + mkdir -pv "${dest}/${folder}/audio" + cp -rv "${SRC_DIR}/${folder}/audio/" "${dest}/${folder}/" +} dev_live() { - [ -d '_live' ] && /bin/rm -rv '_live' + [ -d "${DST_DEV}" ] && /bin/rm -rv "${DST_DEV}" + + copy_audio_files "${DST_DEV}" 'inipi' python -m sphinx_autobuild \ --host '0.0.0.0' \ --open-browser \ "${SRC_DIR}" \ - '_live' + "${DST_DEV}" } build_blog() { - [ -d "${DST_DIR}" ] && /bin/rm -rv "${DST_DIR}" + [ -d "${DST_PROD}" ] && /bin/rm -rv "${DST_PROD}" + copy_audio_files "${DST_PROD}" 'inipi' + python -m sphinx \ 'build' \ -E \ --color \ "${SRC_DIR}" \ - "${DST_DIR}" + "${DST_PROD}" python minify.py } diff --git a/minify.py b/minify.py index 219ed32..d581296 100644 --- a/minify.py +++ b/minify.py @@ -24,10 +24,12 @@ "copybutton", "togglebutton", "sphinx_contributors", + "sphinx-design.min", "tabs", "custom", ] JS_FILES = [ + "design-tabs", "documentation_options", "doctools", "sphinx_highlight", @@ -45,6 +47,7 @@ "genindex.html", "objects.inv", "_sources", + "_sphinx_design_static", "_static/base-stemmer.js", "_static/basic.css", "_static/check-solid.svg", diff --git a/requirements.txt b/requirements.txt index 3ef58dc..8be8ad1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ shibuya==2024.7.13 sphinx==8.0.2 sphinx-contributors==0.2.7 sphinx-copybutton==0.5.2 -# sphinx-design==0.5.0 +sphinx-design==0.6.1 sphinx-last-updated-by-git==0.3.8 sphinx-notfound-page==1.0.4 sphinx-tabs==3.4.5 diff --git a/sources/_static/custom.css b/sources/_static/custom.css index 9ca5afc..6bfd3ac 100644 --- a/sources/_static/custom.css +++ b/sources/_static/custom.css @@ -29,4 +29,10 @@ section#base-de-connaissances-du-luma h1 { .sphinx-contributors p { margin: 0; +} + +@media print { + .no-print { + display: none + } } \ No newline at end of file diff --git a/sources/conf.py b/sources/conf.py index 026c7c2..e18c25a 100644 --- a/sources/conf.py +++ b/sources/conf.py @@ -22,7 +22,7 @@ "sphinx_copybutton", "sphinx.ext.intersphinx", "sphinx.ext.todo", - # "sphinx_design", + "sphinx_design", "sphinx_last_updated_by_git", "notfound.extension", "sphinx_tabs.tabs", diff --git a/sources/index.rst b/sources/index.rst index a688bdd..313b9ed 100644 --- a/sources/index.rst +++ b/sources/index.rst @@ -46,6 +46,12 @@ Base de Connaissances du `Luma`_ linux/* +.. toctree:: + :caption: 🦅 Inipi, le Chant de la Terre + :glob: + + inipi/* + .. toctree:: :caption: 🎮 Jeux-Vidéos :glob: diff --git a/sources/inipi/_note-lakota.md b/sources/inipi/_note-lakota.md new file mode 100644 index 0000000..bdc2597 --- /dev/null +++ b/sources/inipi/_note-lakota.md @@ -0,0 +1,31 @@ +```{figure} images/arbre-rouge.png +:width: 96 +:alt: L'arbre rouge +:align: center + +Site web : [larbrerouge.org](https://www.larbrerouge.org) +``` + +`````{admonition} Notes à propos de la prononciation +:class: toggle + +Dans l'usage des dictonnaires *lakota* modernes, la prononciation s'entend comme suit : + +````{grid} 2 + +```{grid-item} +- **c** comme "tch" +- **ġ** comme "dj" +- **ḣ** comme "r" +``` + +```{grid-item} +- **ǩ** comme "cr" +- **š** comme "ch" +- **ṫ** comme "tr" +``` + +```` + +Les femmes prononcent les finales **o** en "é", exemples : *ce'kiyay**o*** → *ce'kiyay**e***, *yankel**o*** → *yankel**e***.
+````` diff --git a/sources/inipi/audio/archie_fire_lame_deer-la-nation-bison-s-avance.opus b/sources/inipi/audio/archie_fire_lame_deer-la-nation-bison-s-avance.opus new file mode 100644 index 0000000..fdf228e --- /dev/null +++ b/sources/inipi/audio/archie_fire_lame_deer-la-nation-bison-s-avance.opus @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3fa9154116b048108bb38004d407cea9ca95ef129f50eab0c3f311ccab020e5 +size 1987536 diff --git a/sources/inipi/audio/archie_fire_lame_deer-priere-aux-quatre-directions.opus b/sources/inipi/audio/archie_fire_lame_deer-priere-aux-quatre-directions.opus new file mode 100644 index 0000000..6659be8 --- /dev/null +++ b/sources/inipi/audio/archie_fire_lame_deer-priere-aux-quatre-directions.opus @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49d65cabdc9d18061de1ed6e3d488d1e615a4cbe275114632cff9272ac8597cf +size 4002463 diff --git a/sources/inipi/images/arbre-rouge.png b/sources/inipi/images/arbre-rouge.png new file mode 100644 index 0000000..0bfb44a --- /dev/null +++ b/sources/inipi/images/arbre-rouge.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e80b569bfdabb380c0aa7a02622e6cb01ff448d2cb03defba8b55fdcfddab79 +size 72360 diff --git a/sources/inipi/nation-bison-avance.md b/sources/inipi/nation-bison-avance.md new file mode 100644 index 0000000..422e0dd --- /dev/null +++ b/sources/inipi/nation-bison-avance.md @@ -0,0 +1,35 @@ +--- +layout: simple +--- + +# La Nation Bison s'avance… + +
+
Version chantée par Archie Fire Lame Deer
+ +
+ +```{pull-quote} +Tȧtanka wa ma'niye *(x3)*
+Ate heyel**o**, Ate heyel**o**
+Canunpa wan ci cupi ca
+yanipi ktel**o**
+Ate heyel**o**, Ate heyel**o** + +Tȧtanka wa ma'niye *(x2)*
+Ate heyel**o**, Ate heyel**o**
+Canunpa wan ci cupi ca
+yanipi ktel**o**
+Ate heyel**o**, Ate heyel**o** + +Tȧtanka wa ma'niye *(x2)*
+Ate heyel**o**, Ate heyel**o**
+Mako'ce wan waste ci cupi ca
+yanipi ktel**o**
+Ate heyel**o**, Ate heyel**o** + +-- Enseignement d'Archie Fire Lame Deer +``` + +```{include} _note-lakota.md +``` diff --git a/sources/inipi/priere-aux-quatre-directions.md b/sources/inipi/priere-aux-quatre-directions.md new file mode 100644 index 0000000..cd4608b --- /dev/null +++ b/sources/inipi/priere-aux-quatre-directions.md @@ -0,0 +1,44 @@ +--- +layout: simple +--- + +# La prière aux quatre directions ou le chant de la Sweat Lodge des femmes + +
+
Version chantée par Archie Fire Lame Deer
+ +
+ +```{pull-quote} +Ce'kiyay**o**, ce'kiyay**o**
+ahi'tonwan yanke
+oha e **o**… + +Wiyoḣpetakiyahe tonwanyo *(Ouest)*
+    *(corps à répéter après chaque direction)*
+    ni Ṫunkăsila
+    ahi'tonwan yankel**o**
+    ce'kiyay**o**, ce'kiyay**o**
+    ahi'tonwan yanke
+    oha e **o**… + +Waziyatakiyahe tonwanyo *(Nord)*
+    â€¦ + +Iwiyohiyanpatakiyahe tonwanyo *(Est)*
+    â€¦ + +Itokanatakiyahe tonwanyo *(Sud)*
+    â€¦ + +Wakăntakiyahe tonwanyo *(Ciel)*
+    â€¦ + +Makătakiyahe tonwanyo *(Terre)*
+    â€¦ + +-- Enseignement d'Archie Fire Lame Deer +``` + +```{include} _note-lakota.md +```