aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/output/paths_output.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/output/paths_output.d')
-rw-r--r--src/doc_reform/output/paths_output.d44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/doc_reform/output/paths_output.d b/src/doc_reform/output/paths_output.d
index abd21b6..451c40d 100644
--- a/src/doc_reform/output/paths_output.d
+++ b/src/doc_reform/output/paths_output.d
@@ -7,8 +7,8 @@ import std.array,
std.regex,
std.stdio;
import doc_reform.meta.rgx;
-template SiSUoutPaths() {
- auto SiSUoutPaths(Po,Lng)(
+template DocReformOutPaths() {
+ auto DocReformOutPaths(Po,Lng)(
Po output_pth_root,
Lng lng,
) {
@@ -25,8 +25,8 @@ template SiSUoutPaths() {
return _PathsStruct();
}
}
-template SiSUoutPathSQLite() {
- auto SiSUoutPathSQLite(Po)(
+template DocReformOutPathSQLite() {
+ auto DocReformOutPathSQLite(Po)(
Po output_pth_root,
) {
struct _PathsStruct {
@@ -42,9 +42,9 @@ template SiSUoutPathSQLite() {
return _PathsStruct();
}
}
-template SiSUoutPathsFnPd() {
+template DocReformOutPathsFnPd() {
/+ TODO stuff to work out here +/
- auto SiSUoutPathsFnPd(Fn,Pn)(
+ auto DocReformOutPathsFnPd(Fn,Pn)(
Fn fn_src_pth,
Pn pod_name
) {
@@ -79,14 +79,14 @@ template SiSUoutPathsFnPd() {
return _PathsStruct();
}
}
-template SiSUpathsHTML() {
- mixin SiSUrgxInit;
+template DocReformPathsHTML() {
+ mixin DocReformRgxInit;
static auto rgx = Rgx();
- auto SiSUpathsHTML(Po,Lng)(
+ auto DocReformPathsHTML(Po,Lng)(
Po output_pth_root,
Lng lng,
) {
- auto out_pth = SiSUoutPaths!()(output_pth_root, lng);
+ auto out_pth = DocReformOutPaths!()(output_pth_root, lng);
string base_dir = "html";
string suffix = ".html";
struct _PathsStruct {
@@ -121,14 +121,14 @@ template SiSUpathsHTML() {
return _PathsStruct();
}
}
-template SiSUpathsEPUB() {
- mixin SiSUrgxInit;
+template DocReformPathsEPUB() {
+ mixin DocReformRgxInit;
static auto rgx = Rgx();
- auto SiSUpathsEPUB(Po,Lng)(
+ auto DocReformPathsEPUB(Po,Lng)(
Po output_pth_root,
Lng lng,
) {
- auto out_pth = SiSUoutPaths!()( output_pth_root, lng);
+ auto out_pth = DocReformOutPaths!()( output_pth_root, lng);
string base_dir = "epub";
struct _PathsStruct {
string base() {
@@ -221,10 +221,10 @@ template SiSUpathsEPUB() {
return _PathsStruct();
}
}
-template SiSUpathsSQLiteDiscrete() {
- mixin SiSUrgxInit;
+template DocReformPathsSQLiteDiscrete() {
+ mixin DocReformRgxInit;
static auto rgx = Rgx();
- auto SiSUpathsSQLiteDiscrete(Po,Lng)(
+ auto DocReformPathsSQLiteDiscrete(Po,Lng)(
Po output_pth_root,
Lng lng,
) {
@@ -233,7 +233,7 @@ template SiSUpathsSQLiteDiscrete() {
return fn_src.baseName.stripExtension;
}
string base() {
- auto out_pth = SiSUoutPaths!()(output_pth_root, lng);
+ auto out_pth = DocReformOutPaths!()(output_pth_root, lng);
string base_dir = "sqlite";
return asNormalizedPath((out_pth.output_base).chainPath(base_dir)).array;
}
@@ -247,10 +247,10 @@ template SiSUpathsSQLiteDiscrete() {
return _PathsStruct();
}
}
-template SiSUpathsSQLite() {
- mixin SiSUrgxInit;
+template DocReformPathsSQLite() {
+ mixin DocReformRgxInit;
static auto rgx = Rgx();
- auto SiSUpathsSQLite(DbN, Po)(
+ auto DocReformPathsSQLite(DbN, Po)(
DbN db_name,
Po output_pth_root,
) {
@@ -259,7 +259,7 @@ template SiSUpathsSQLite() {
return fn_src.baseName.stripExtension;
}
string base() {
- auto out_pth = SiSUoutPathSQLite!()(output_pth_root); // decide whether to have separate files for each language
+ auto out_pth = DocReformOutPathSQLite!()(output_pth_root); // decide whether to have separate files for each language
string base_dir = "sqlite";
return asNormalizedPath((out_pth.output_root).chainPath(base_dir)).array;
}