[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[www_shared] 03/03: MC: YAML multifile reader for translations and confi
From: |
gnunet |
Subject: |
[www_shared] 03/03: MC: YAML multifile reader for translations and configuration properties |
Date: |
Mon, 20 Nov 2023 11:49:05 +0100 |
This is an automated email from the git hooks/post-receive script.
andreas-habegger pushed a commit to branch master
in repository www_shared.
commit 72771f14dfe85a6444cb48f6cdfce1abc5473f51
Merge: 218f02c 1d496cd
Author: Andreas HABEGGER <andreas.habegger@bfh.ch>
AuthorDate: Mon Nov 20 11:24:48 2023 +0100
MC: YAML multifile reader for translations and configuration properties
README | 10 ++++++++++
list-languages | 16 +++++++++++++---
sitegen/site.py | 13 +++++++++++--
3 files changed, 34 insertions(+), 5 deletions(-)
diff --cc README
index d9650ce,d9650ce..04b2e19
--- a/README
+++ b/README
@@@ -18,6 -18,6 +18,16 @@@ of one website, ie this affects both we
should be tested against both as soon as both websites have
been switched to this code.
++Note
++----
++YAML files are used for both translations and the Site Builder as
++content properties. The collection hierarchy is as follows
++ * First, the file "properties.yml" in the top directory is read.
++ * Second, all YAML files are collected in a directory called "properties.d".
++ * Third, the collected files are fed into the build system as a dictionary.
++Note that the name is controlled by a variable PROPERTIES_YML. The name of
++the file is linked to the name of the directory.
++
Dependencies
------------
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.