diff options
Diffstat (limited to 'src/doc_reform/source')
| -rw-r--r-- | src/doc_reform/source/paths_source.d | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/src/doc_reform/source/paths_source.d b/src/doc_reform/source/paths_source.d index bf4ee55..408d227 100644 --- a/src/doc_reform/source/paths_source.d +++ b/src/doc_reform/source/paths_source.d @@ -199,6 +199,19 @@ template PathMatters() {              }              return _uid;            } +          string doc_uid_out() { +            string _uid; +            if (is_pod && !(pod_name_with_path.empty)) { +              if (pod_name_with_path.baseName == filename_base) { +                _uid = filename_base ~ "." ~ lng; +              } else { +                _uid = pod_name_with_path.baseName ~ mkup.sep ~ filename_base ~ "." ~ lng; +              } +            } else { +              _uid = "_" ~ filename_base ~ "." ~ lng; +            } +            return _uid; +          }            string docname_composite_unique_per_src_doc() {              string _fn;              if (pod_name_with_path.baseName == filename_base) { | 
