aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/ocda/io_in
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-20 23:50:58 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-22 12:50:33 -0400
commit84f4c4c963e4b3edc04300f8c5b931028e028c6c (patch)
treea27c53364b6d0809c5712a1b484e41e2363cd6cb /src/sisudoc/ocda/io_in
parenttest (ref-abstr-ssp): live-manual + pt_BR (diff)
conf: read conf/document_make, drop the dr_ prefix
Spine now looks for conf/document_make, and bundles that name. (the dr_ prefix was a sisu-era name to distinguish it) (assisted by Claude-Code)
Diffstat (limited to 'src/sisudoc/ocda/io_in')
-rw-r--r--src/sisudoc/ocda/io_in/paths_source.d4
-rw-r--r--src/sisudoc/ocda/io_in/read_zip_pod.d4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/sisudoc/ocda/io_in/paths_source.d b/src/sisudoc/ocda/io_in/paths_source.d
index f32b89e..1a4b4da 100644
--- a/src/sisudoc/ocda/io_in/paths_source.d
+++ b/src/sisudoc/ocda/io_in/paths_source.d
@@ -174,7 +174,7 @@ template PathMatters() {
string manifest_file_with_path() {
return _manifested.pod_manifest_file_with_path;
}
- string[] config_dr_document_make_dirs() {
+ string[] config_document_make_dirs() {
string[] _config_dirs;
return _config_dirs;
}
@@ -482,7 +482,7 @@ template configFilePaths() {
) {
struct ConfFilePaths {
string config_filename_document() {
- return "dr_document_make";
+ return "document_make";
}
string config_filename_site() {
return "config_local_site";
diff --git a/src/sisudoc/ocda/io_in/read_zip_pod.d b/src/sisudoc/ocda/io_in/read_zip_pod.d
index ea1fa1b..49429be 100644
--- a/src/sisudoc/ocda/io_in/read_zip_pod.d
+++ b/src/sisudoc/ocda/io_in/read_zip_pod.d
@@ -183,10 +183,10 @@ template spineExtractZipPod() {
}
/+ ↓ extract entries +/
/+ zip internal structure uses paths like:
- pod.manifest, conf/dr_document_make,
+ pod.manifest, conf/document_make,
pod/media/text/en/filename.sst, image/filename.png
but the extracted pod directory needs to look like a normal pod:
- pod.manifest, conf/dr_document_make,
+ pod.manifest, conf/document_make,
media/text/en/filename.sst, image/filename.png
The "pod/" prefix in zip entries for text files maps to the pod root.
+/