aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/sdp.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-02-09 22:03:10 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit1c73ddf3894085c646b55d63e61a2483e03a3b4d (patch)
tree34e3a837d0e0d224008ff380055ea263a03d3c14 /src/sdp/sdp.d
parentpaths, further adjustments (diff)
0.24.0 toml or sdlang for configuration
Diffstat (limited to 'src/sdp/sdp.d')
-rwxr-xr-xsrc/sdp/sdp.d11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/sdp/sdp.d b/src/sdp/sdp.d
index b0e75e6..e4bf4a9 100755
--- a/src/sdp/sdp.d
+++ b/src/sdp/sdp.d
@@ -12,10 +12,10 @@ import
sdp.meta,
sdp.meta.metadoc_summary,
sdp.meta.metadoc_from_src,
- sdp.meta.conf_make_meta,
- // sdp.meta.conf_make_meta_native,
+ sdp.meta.conf_make_meta_structs,
sdp.meta.conf_make_meta_sdlang,
- sdp.meta.conf_make_meta_composite,
+ sdp.meta.conf_make_meta_toml,
+ sdp.meta.conf_make_meta_json,
sdp.meta.defaults,
sdp.meta.doc_debugs,
sdp.meta.read_config_files,
@@ -32,8 +32,9 @@ homepage "http://sisudoc.org"
+/
void main(string[] args) {
mixin SiSUrgxInit;
- mixin SiSUregisters;
+ mixin SiSUmakeMetaStructsSDLang;
mixin SiSUextractSDLang;
+ mixin contentJSONtoSiSUstruct;
mixin SiSUnode;
mixin SiSUbiblio;
mixin SiSUrgxInitFlags;
@@ -98,6 +99,7 @@ void main(string[] args) {
];
string[string] settings = [
"output-dir" : "",
+ "site-config-dir" : "",
"lang" : "all",
];
auto helpInfo = getopt(args,
@@ -141,6 +143,7 @@ void main(string[] args) {
"backmatter", "--section-backmatter process document backmatter (default)", &opts["backmatter"],
"skip-output", "--skip-output", &opts["skip-output"],
"output-dir", "--output-dir=[dir path]", &settings["output-dir"],
+ "site-config-dir", "--site-config-dir=[dir path]", &settings["site-config-dir"],
"lang", "--lang=[lang code e.g. =en or =en,es]", &settings["lang"],
);
if (helpInfo.helpWanted) {