From 4f44638ee18ccfaf342d22075553eafdeccc2ed4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 25 May 2021 22:42:22 +0200 Subject: [PATCH] Add templates --- check_process | 8 +++----- doc/DISCLAIMER.md | 5 +++++ doc/DISCLAIMER_fr.md | 5 +++++ doc/{ => screenshots}/screenshot.jpg | Bin manifest.json | 6 ++++++ 5 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 doc/DISCLAIMER.md create mode 100644 doc/DISCLAIMER_fr.md rename doc/{ => screenshots}/screenshot.jpg (100%) diff --git a/check_process b/check_process index d9145d6..dd5eafe 100644 --- a/check_process +++ b/check_process @@ -1,10 +1,8 @@ -# See here for more informations -# https://github.com/YunoHost/package_check#syntax-check_process-file ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - is_public=1 (PUBLIC|public=1|private=0) + domain="domain.tld" + path="/path" + is_public=1 ; Checks pkg_linter=1 setup_sub_dir=1 diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md new file mode 100644 index 0000000..f985d3f --- /dev/null +++ b/doc/DISCLAIMER.md @@ -0,0 +1,5 @@ +## Configuration + +After installing the application, you can add documents in `/var/www/documents` (or the corresponding path you choosed). +h5ai doesn't allow to edit or upload new documents directly from the web browser. But you can imagine coupling the folder `/var/www/documents` to Nextcloud or some sort of FTP to allow some users to upload content, and use h5ai as a public read-only interface. +The main configuration file is `_h5ai/private/conf/options.json`. You might want to change some of the documented settings. But there are some more files in `_h5ai/private/conf` you might have a look at. diff --git a/doc/DISCLAIMER_fr.md b/doc/DISCLAIMER_fr.md new file mode 100644 index 0000000..fd9128d --- /dev/null +++ b/doc/DISCLAIMER_fr.md @@ -0,0 +1,5 @@ +## Configuration + +Après avoir installé l'application, vous pouvez ajouter des documents dans `/var/www/documents` (ou le chemin correspondant que vous avez choisi). +h5ai ne permet pas de modifier ou de télécharger de nouveaux documents directement à partir du navigateur Web. Vous pouvez imaginer coupler le dossier `/var/www/documents` à Nextcloud ou un FTP pour permettre à certains utilisateurs de télécharger du contenu et d'utiliser h5ai comme interface publique en lecture seule. +Le fichier de configuration principal est `_h5ai / private / conf / options.json`. Vous souhaiterez peut-être modifier certains des paramètres documentés. Mais il y a d'autres fichiers dans `_h5ai / private / conf` que vous pourriez consulter. diff --git a/doc/screenshot.jpg b/doc/screenshots/screenshot.jpg similarity index 100% rename from doc/screenshot.jpg rename to doc/screenshots/screenshot.jpg diff --git a/manifest.json b/manifest.json index 83d235d..7b18649 100644 --- a/manifest.json +++ b/manifest.json @@ -8,6 +8,12 @@ }, "version": "0.30.0~ynh1", "url": "https://larsjung.de/h5ai/", + "upstream": { + "license": "MIT", + "website": "https://larsjung.de/h5ai/", + "admindoc": "https://larsjung.de/h5ai/", + "code": "https://github.com/lrsjng/h5ai" + }, "license": "MIT", "maintainer": { "name": "alexAubin",