aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-03-09 16:51:51 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit1447e8d6f23c64ed79cd3ded8ebe29346ba70d90 (patch)
tree8d64ad9c12bc53e15472089c238f8f503b9e2162 /src/sdp
parenthome button text, a redo (diff)
remove .toml extension
- .sdl option removed, no need to distinguish
Diffstat (limited to 'src/sdp')
-rw-r--r--src/sdp/output/paths_source.d4
-rw-r--r--src/sdp/output/source_sisupod.d5
2 files changed, 4 insertions, 5 deletions
diff --git a/src/sdp/output/paths_source.d b/src/sdp/output/paths_source.d
index 1be04d2..59cb618 100644
--- a/src/sdp/output/paths_source.d
+++ b/src/sdp/output/paths_source.d
@@ -312,10 +312,10 @@ template ConfigFilePaths() {
) {
struct ConfFilePaths {
auto config_filename_document_toml() {
- return "sisu_document_make.toml";
+ return "sisu_document_make";
}
auto config_filename_site_toml() {
- return "config_local_site.toml";
+ return "config_local_site";
}
auto possible_config_path_locations() {
struct _ConfFilePaths {
diff --git a/src/sdp/output/source_sisupod.d b/src/sdp/output/source_sisupod.d
index d0e4e11..6c50cf2 100644
--- a/src/sdp/output/source_sisupod.d
+++ b/src/sdp/output/source_sisupod.d
@@ -97,16 +97,15 @@ template SiSUpod() {
}
}
} { /+ bundle sisu_document_make +/
- auto extension = ".toml";
auto fn_src_in = ((doc_matters.src.is_pod)
? doc_matters.src.conf_dir_path
: pth_sisudoc_src.conf_root).to!string
- ~ "/" ~ "sisu_document_make" ~ extension;
+ ~ "/" ~ "sisu_document_make";
auto fn_src_out_sisupod_zip_base
= pths_sisupod.conf_root(doc_matters.src.filename).zpod.to!string ~ "/" ~ "sisu_document_make";
auto fn_src_out_filesystem
= pths_sisupod.conf_root(doc_matters.src.filename).filesystem_open_zpod.to!string
- ~ "/" ~ "sisu_document_make" ~ extension; // TODO
+ ~ "/" ~ "sisu_document_make";
if (exists(fn_src_in)) {
debug(io) {
writeln("WARNING (io debug) src out found: ", fn_src_in);