aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output/paths_source.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/output/paths_source.d')
-rw-r--r--src/sdp/output/paths_source.d46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/sdp/output/paths_source.d b/src/sdp/output/paths_source.d
index 967a632..0a8b447 100644
--- a/src/sdp/output/paths_source.d
+++ b/src/sdp/output/paths_source.d
@@ -203,25 +203,25 @@ template SiSUpathsSRC() {
return "sisudoc";
}
auto media_root() {
- return doc_root.chainPath("media").array;
+ return asNormalizedPath(doc_root.chainPath("media")).array;
}
auto conf_root() {
- return doc_root.chainPath("conf").array;
+ return asNormalizedPath(doc_root.chainPath("conf")).array;
}
auto text_root() {
- return media_root.chainPath("text").array;
+ return asNormalizedPath(media_root.chainPath("text")).array;
}
auto image_root() {
- return media_root.chainPath("image").array;
+ return asNormalizedPath(media_root.chainPath("image")).array;
}
auto doc_src_fn_with_path_for_text_root_and_lng() {
- return text_root.chainPath(language).array;
+ return asNormalizedPath(text_root.chainPath(language)).array;
}
auto doc_src_with_relative_path() {
- return pwd.chainPath(_fn_src_and_relative_path).array;
+ return asNormalizedPath(pwd.chainPath(_fn_src_and_relative_path)).array;
}
auto doc_src_fn() {
- return _fn_src_and_relative_path.baseName.array;
+ return asNormalizedPath(_fn_src_and_relative_path.baseName).array;
}
}
return SisuSrcPaths();
@@ -341,7 +341,7 @@ template SiSUpathsSisupods() {
}
auto pod_root(string fn_src) {
auto pth_1_ = "";
- auto pth_2_ = base(fn_src).filesystem_open_zpod.chainPath("").array; // "sisudoc"
+ auto pth_2_ = asNormalizedPath(base(fn_src).filesystem_open_zpod.chainPath("")).array; // "sisudoc"
struct _pods {
auto zpod() {
return pth_1_;
@@ -355,7 +355,7 @@ template SiSUpathsSisupods() {
auto conf_root(string fn_src) {
auto pod_root_ = pod_root(fn_src);
auto pth_1_ = "conf";
- auto pth_2_ = pod_root(fn_src).filesystem_open_zpod.chainPath("conf").array;
+ auto pth_2_ = asNormalizedPath(pod_root(fn_src).filesystem_open_zpod.chainPath("conf")).array;
struct _pods {
auto zpod() {
return pth_1_;
@@ -369,8 +369,8 @@ template SiSUpathsSisupods() {
}
auto css(string fn_src) {
auto pod_root_ = pod_root(fn_src);
- auto pth_1_ = conf_root(fn_src).zpod.chainPath("css").array;
- auto pth_2_ = conf_root(fn_src).filesystem_open_zpod.chainPath("css").array;
+ auto pth_1_ = asNormalizedPath(conf_root(fn_src).zpod.chainPath("css")).array;
+ auto pth_2_ = asNormalizedPath(conf_root(fn_src).filesystem_open_zpod.chainPath("css")).array;
struct _pods {
auto zpod() {
return pth_1_;
@@ -385,7 +385,7 @@ template SiSUpathsSisupods() {
auto media_root(string fn_src) {
auto pod_root_ = pod_root(fn_src);
auto pth_1_ = "media";
- auto pth_2_ = pod_root(fn_src).filesystem_open_zpod.chainPath("media").array;
+ auto pth_2_ = asNormalizedPath(pod_root(fn_src).filesystem_open_zpod.chainPath("media")).array;
struct _pods {
auto zpod() {
return pth_1_;
@@ -399,8 +399,8 @@ template SiSUpathsSisupods() {
}
auto text_root(string fn_src) {
auto pod_root_ = pod_root(fn_src);
- auto pth_1_ = media_root(fn_src).zpod.chainPath("text").array;
- auto pth_2_ = media_root(fn_src).filesystem_open_zpod.chainPath("text").array;
+ auto pth_1_ = asNormalizedPath(media_root(fn_src).zpod.chainPath("text")).array;
+ auto pth_2_ = asNormalizedPath(media_root(fn_src).filesystem_open_zpod.chainPath("text")).array;
struct _pods {
auto zpod() {
return pth_1_;
@@ -429,8 +429,8 @@ template SiSUpathsSisupods() {
}
auto doc_lng(string fn_src, string lng) {
auto pod_root_ = pod_root(fn_src);
- auto pth_1_ = text_root(fn_src).zpod.chainPath(lng).array;
- auto pth_2_ = text_root(fn_src).filesystem_open_zpod.chainPath(lng).array;
+ auto pth_1_ = asNormalizedPath(text_root(fn_src).zpod.chainPath(lng)).array;
+ auto pth_2_ = asNormalizedPath(text_root(fn_src).filesystem_open_zpod.chainPath(lng)).array;
struct _pods {
auto zpod() {
return pth_1_;
@@ -444,8 +444,8 @@ template SiSUpathsSisupods() {
}
auto image_root(string fn_src) {
auto pod_root_ = pod_root(fn_src);
- auto pth_1_ = media_root(fn_src).zpod.chainPath("image").array;
- auto pth_2_ = media_root(fn_src).filesystem_open_zpod.chainPath("image").array;
+ auto pth_1_ = asNormalizedPath(media_root(fn_src).zpod.chainPath("image")).array;
+ auto pth_2_ = asNormalizedPath(media_root(fn_src).filesystem_open_zpod.chainPath("image")).array;
struct _pods {
auto zpod() {
return pth_1_;
@@ -461,7 +461,7 @@ template SiSUpathsSisupods() {
auto pod_root_ = pod_root(fn_src);
auto _manifest = PodManifest!()(fn_src).pod_manifest_filename;
auto pth_1_ = _manifest;
- auto pth_2_ = pod_root(fn_src).filesystem_open_zpod.chainPath(_manifest).array;
+ auto pth_2_ = asNormalizedPath(pod_root(fn_src).filesystem_open_zpod.chainPath(_manifest)).array;
struct _pods {
auto zpod() {
return pth_1_;
@@ -475,8 +475,8 @@ template SiSUpathsSisupods() {
}
auto fn_doc(string fn_src, string lng) {
auto pod_root_ = pod_root(fn_src);
- auto pth_1_ = doc_lng(fn_src, lng).zpod.chainPath(fn_src.baseName).array;
- auto pth_2_ = doc_lng(fn_src, lng).filesystem_open_zpod.chainPath(fn_src.baseName).array;
+ auto pth_1_ = asNormalizedPath(doc_lng(fn_src, lng).zpod.chainPath(fn_src.baseName)).array;
+ auto pth_2_ = asNormalizedPath(doc_lng(fn_src, lng).filesystem_open_zpod.chainPath(fn_src.baseName)).array;
struct _pods {
auto zpod() {
return pth_1_;
@@ -490,8 +490,8 @@ template SiSUpathsSisupods() {
}
auto fn_doc_insert(string fn_src, string fn_insert, string lng) {
auto pod_root_ = pod_root(fn_src);
- auto pth_1_ = doc_lng(fn_src, lng).zpod.chainPath(fn_insert.baseName).array;
- auto pth_2_ = doc_lng(fn_src, lng).filesystem_open_zpod.chainPath(fn_insert.baseName).array;
+ auto pth_1_ = asNormalizedPath(doc_lng(fn_src, lng).zpod.chainPath(fn_insert.baseName)).array;
+ auto pth_2_ = asNormalizedPath(doc_lng(fn_src, lng).filesystem_open_zpod.chainPath(fn_insert.baseName)).array;
struct _pods {
auto zpod() {
return pth_1_;