aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_in/paths_source.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/io_in/paths_source.d')
-rw-r--r--src/doc_reform/io_in/paths_source.d21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/doc_reform/io_in/paths_source.d b/src/doc_reform/io_in/paths_source.d
index a460f7b..3896751 100644
--- a/src/doc_reform/io_in/paths_source.d
+++ b/src/doc_reform/io_in/paths_source.d
@@ -592,20 +592,19 @@ template spinePathsPods() {
string _base_dir_doc = "dr_doc";
struct _PodPaths {
string base_filename_(string fn_src) {
- auto pth = fn_src.baseName.stripExtension;
- return pth;
+ return fn_src.baseName.stripExtension;
+ }
+ string internal_base() {
+ return "pod";
}
string pod_dir_() {
- auto pth = _base_dir_pod;
- return pth;
+ return _base_dir_pod;
}
string dr_doc_dir_() {
- auto pth = _base_dir_doc;
- return pth;
+ return _base_dir_doc;
}
string pod_filename_(string fn_src) {
- string pth = _base_dir_pod.chainPath(base_filename_(fn_src) ~ _suffix).array;
- return pth;
+ return _base_dir_pod.chainPath(base_filename_(fn_src) ~ _suffix).array;
}
string base_filesystem_(string fn_src) {
string pth = _base_dir_pod.chainPath(base_filename_(fn_src)).array;
@@ -614,12 +613,10 @@ template spinePathsPods() {
return pth;
}
string output_pod_manifest_file(string fn_src) {
- string pth = base_filesystem_(fn_src).chainPath("pod.manifest").array;
- return pth;
+ return base_filesystem_(fn_src).chainPath("pod.manifest").array;
}
string base_pod_(string fn_src) {
- string pth = _base_dir_pod.chainPath(base_filename_(fn_src)).array; // change this
- return pth;
+ return _base_dir_pod.chainPath(base_filename_(fn_src)).array; // change this
}
auto base_filename(string fn_src) {
auto pth_1_ = base_filename_(fn_src);