aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-05-23 22:02:17 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-05-23 22:03:55 -0400
commitba21ada59220f06f3ba1319b73b5983abbd07cac (patch)
tree67374167e178c345e41f330da09b6f9f67dba016 /org
parentnix flake update (diff)
org files out of sync, fixsisudoc-spine_v0.20.0
(also cgi_sqlite_search_form.d did not belong here)
Diffstat (limited to 'org')
-rw-r--r--org/out_src_abstraction_ocda_ssp.org (renamed from org/out_src_abstraction_peg_text.org)14
1 files changed, 8 insertions, 6 deletions
diff --git a/org/out_src_abstraction_peg_text.org b/org/out_src_abstraction_ocda_ssp.org
index b59c51d..a17c236 100644
--- a/org/out_src_abstraction_peg_text.org
+++ b/org/out_src_abstraction_ocda_ssp.org
@@ -25,11 +25,11 @@
rename source_abstraction_peg_txt.d
-#+HEADER: :tangle "../src/sisudoc/io_out/create_abstraction_txt.d"
+#+HEADER: :tangle "../src/sisudoc/abstraction/ssp.d"
#+HEADER: :noweb yes
#+BEGIN_SRC d
<<doc_header_including_copyright_and_license>>
-module sisudoc.io_out.create_abstraction_txt;
+module sisudoc.abstraction.ssp;
@safe:
/+ ↓ write document abstraction as human-readable .ssp text file +/
@@ -41,7 +41,6 @@ template spineAbstractionTxt() {
import std.stdio;
import std.string;
import std.array;
- import sisudoc.io_out.paths_output;
void spineAbstractionTxt(D)(D doc) {
auto doc_abstraction = doc.abstraction;
@@ -390,9 +389,12 @@ template spineAbstractionTxt() {
}
/+ ↓ write to file +/
- auto out_pth = spineOutPaths!()(doc_matters.output_path, doc_matters.src.language);
- string base_dir = "abstraction";
- string base_pth = ((out_pth.output_base.chainPath(base_dir)).asNormalizedPath).array;
+ /+ path: <output_path>/<language>/abstraction/<doc_uid_out>.ssp +/
+ string out_root = (doc_matters.output_path.length > 0)
+ ? doc_matters.output_path : "";
+ string base_pth = (out_root
+ .chainPath(doc_matters.src.language, "abstraction")
+ .asNormalizedPath).array;
try {
if (!exists(base_pth)) {
base_pth.mkdirRecurse;