diff --git a/docs/api.html b/docs/api.html
index fde8a7e..e324492 100644
--- a/docs/api.html
+++ b/docs/api.html
@@ -31,7 +31,7 @@
Contents
@@ -58,19 +58,15 @@
Reads config file from world directory. |
- wdata.write (fname, data[, styled]) |
+ wdata.write (fname, data[, flags]) |
Writes to config file in world directory. |
-
+
@@ -93,7 +89,7 @@
- fname
string
- Base filename with optional directory structure (e.g. "mymod/myconfig")
+ Base filename with optional directory structure (e.g. "my_mod/my_config")
@@ -110,7 +106,7 @@
- wdata.write (fname, data[, styled])
+ wdata.write (fname, data[, flags])
Writes to config file in world directory.
@@ -120,15 +116,17 @@
- fname
string
- Base filename with optional directory structure (e.g. "mymod/myconfig").
+ Base filename with optional directory structure (e.g. "my_mod/my_config").
- data
table
Table data to be written to config file.
- - styled
- bool
- Outputs in a human-readable format if this is set (default:
true
).
+ - flags
+ FlagsDef
+
+
+
(optional)
@@ -145,31 +143,30 @@
-
+
-
-
- minetest.read_world_config
+
+ FlagsDef
-
- Alias of wdata.read.
-
-
-
-
-
-
-
-
- -
-
- minetest.write_world_config
-
- -
- Alias of wdata.write.
+ Flags definition.
+
Fields:
+
+ - styled
+ bool
+ Outputs in a human-readable format if this is set (default:
true
).
+ (optional)
+
+ - null_to_table
+ bool
+ "null" values will be converted to tables in output (default:
false
).
+ (optional)
+
+
@@ -182,8 +179,8 @@