changeset 732:88bfa76463a6

FIX: Make all configurations on conf10.* semantically identical. BUGS: INI and lists
author Franz Glasner <f.glasner@feldmann-mg.com>
date Fri, 18 Aug 2023 11:50:39 +0200
parents 75d37575472b
children 06b6c14bcd61
files docs/conf.py tests/data/conf10.ini tests/data/conf10.json tests/data/conf10.toml tests/data/conf10.yml
diffstat 5 files changed, 23 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/docs/conf.py	Fri Aug 18 00:29:55 2023 +0200
+++ b/docs/conf.py	Fri Aug 18 11:50:39 2023 +0200
@@ -80,6 +80,9 @@
 # This pattern also affects html_static_path and html_extra_path .
 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
 
+# `default' is similar to python3
+highlight_language = "default"
+
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'
 
--- a/tests/data/conf10.ini	Fri Aug 18 00:29:55 2023 +0200
+++ b/tests/data/conf10.ini	Fri Aug 18 11:50:39 2023 +0200
@@ -14,3 +14,5 @@
 key4 = get this as `tree1.tree2.key4'
 key5 = :bool:TRUE
 key6 = off
+
+[config.tree1.tree2.key9]
--- a/tests/data/conf10.json	Fri Aug 18 00:29:55 2023 +0200
+++ b/tests/data/conf10.json	Fri Aug 18 11:50:39 2023 +0200
@@ -5,7 +5,10 @@
      "tree2": {
 	 "key4": "get this as `tree1.tree2.key4'",
 	 "key5": true,
-	 "key6": "off"
+	 "key6": "off",
+         "key7": [],
+         "key8": [ "val1", "val2", "{{key1}}" ],
+         "key9": {}
      }
  }
 }
--- a/tests/data/conf10.toml	Fri Aug 18 00:29:55 2023 +0200
+++ b/tests/data/conf10.toml	Fri Aug 18 11:50:39 2023 +0200
@@ -10,3 +10,11 @@
 key4 = "get this as `tree1.tree2.key4'"
 key5 = true
 key6 = "off"
+key7 = []
+key8 = [
+  "val1",
+  "val2",
+  "{{key1}}"
+]
+
+[tree1.tree2.key9]
--- a/tests/data/conf10.yml	Fri Aug 18 00:29:55 2023 +0200
+++ b/tests/data/conf10.yml	Fri Aug 18 11:50:39 2023 +0200
@@ -11,3 +11,9 @@
     key4: get this as `tree1.tree2.key4'
     key5: true
     key6: 'off'
+    key7: []
+    key8:
+      - val1
+      - val2
+      - '{{key1}}'
+    key9: {}