aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/output/paths_output.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-03-20 13:03:02 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-05-17 16:59:38 -0400
commitda32ec40fc237b03f22aac329017d06735289a3a (patch)
treedf8f2ddcf1dda26914939c73f11b87db57ae6c64 /src/doc_reform/output/paths_output.d
parent0.5.0 per object inline munging (rather than by line) (diff)
housekeepingdoc-reform_v0.5.0
Diffstat (limited to 'src/doc_reform/output/paths_output.d')
-rw-r--r--src/doc_reform/output/paths_output.d8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc_reform/output/paths_output.d b/src/doc_reform/output/paths_output.d
index c35fa55..7980594 100644
--- a/src/doc_reform/output/paths_output.d
+++ b/src/doc_reform/output/paths_output.d
@@ -46,7 +46,7 @@ template DocReformOutPathsFnPd() {
/+ TODO stuff to work out here +/
auto DocReformOutPathsFnPd(Fn,Pn)(
Fn fn_src_pth,
- Pn pod_name
+ Pn pod_name_with_path
) {
struct _PathsStruct {
string base_filename() {
@@ -64,11 +64,11 @@ template DocReformOutPathsFnPd() {
+/
string _fn_src = fn_src_pth.baseName.stripExtension;
string _output_base_name;
- if (!(pod_name.empty)) {
- if (pod_name == _fn_src) {
+ if (!(pod_name_with_path.empty)) {
+ if (pod_name_with_path == _fn_src) {
_output_base_name = _fn_src;
} else {
- _output_base_name = pod_name ~ "." ~ _fn_src;
+ _output_base_name = pod_name_with_path ~ "." ~ _fn_src;
}
} else {
_output_base_name = _fn_src;