aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_in
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-12-13 09:09:24 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-01-13 16:06:43 -0500
commit0c4b3cb3707c3b16cd171620427e651d71182813 (patch)
tree2027a8f9449eab7b2b878ee9f1554a417563b73f /src/doc_reform/io_in
parentharvest topics, name hashtag level names (diff)
present per document metadata
Diffstat (limited to 'src/doc_reform/io_in')
-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);