From 25e693aed11bcccb48ad27d14cb25778a2ead916 Mon Sep 17 00:00:00 2001 From: maggick Date: Fri, 27 Jan 2023 14:45:14 +0100 Subject: [PATCH 1/5] Build releases directory listing using GH api. fix#102 --- releases/index.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 releases/index.html diff --git a/releases/index.html b/releases/index.html new file mode 100644 index 00000000..35ab95a3 --- /dev/null +++ b/releases/index.html @@ -0,0 +1,19 @@ + + + + + + From b7c8013c56e23671d0fcb62164dc5b0686c0cf90 Mon Sep 17 00:00:00 2001 From: maggick Date: Fri, 27 Jan 2023 15:16:19 +0100 Subject: [PATCH 2/5] As the link is relative it was redireting to `releases/releases/` --- releases/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/index.html b/releases/index.html index 35ab95a3..5bb5d796 100644 --- a/releases/index.html +++ b/releases/index.html @@ -7,7 +7,7 @@ let htmlString = ''; From 85e7a0847024c8348b7044ab3df083c8a189e98e Mon Sep 17 00:00:00 2001 From: maggick Date: Fri, 27 Jan 2023 15:20:55 +0100 Subject: [PATCH 3/5] Do not display index.html in old releases --- releases/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/releases/index.html b/releases/index.html index 5bb5d796..b336da1c 100644 --- a/releases/index.html +++ b/releases/index.html @@ -7,7 +7,9 @@ let htmlString = '
    '; for (let file of data) { - htmlString += `
  • ${file.name}
  • `; + if (file.path != 'releases/index.html'){ + htmlString += `
  • ${file.name}
  • `; + } } htmlString += '
'; From 78f01f3fa07de1fbf6e4ee00a716ff95357674bc Mon Sep 17 00:00:00 2001 From: maggick Date: Fri, 27 Jan 2023 15:21:10 +0100 Subject: [PATCH 4/5] Add a link to the releases folder --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index aaa157dd..1f567b35 100644 --- a/index.html +++ b/index.html @@ -522,6 +522,10 @@

Téléchargement

setxkbmap fr -variant lafayette42 +
+ Versions Précédentes : + Dépots des versions précédentes +

Notes de version

From 4064731be27cca4d37403a89cea954d369b09782 Mon Sep 17 00:00:00 2001 From: maggick Date: Fri, 27 Jan 2023 15:28:10 +0100 Subject: [PATCH 5/5] Add a `dd` block to follow the `dt` --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 1f567b35..47c54055 100644 --- a/index.html +++ b/index.html @@ -526,6 +526,9 @@

Téléchargement

Versions Précédentes : Dépots des versions précédentes +
+ Les version précédentes peuvent être installées sans garantie de leur fonctionnement. +

Notes de version