aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/abstraction.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-02-03 15:42:31 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit4bf61c31fac50313753246e76993739fff3bfa14 (patch)
tree93b0073fc5ebedd4727b20c86479988e5239a3b3 /src/sdp/abstraction.d
parentao_doc_abstraction.org (moved/renamed ao_abstract_doc_source.org) (diff)
doc_matters, add image list
Diffstat (limited to 'src/sdp/abstraction.d')
-rw-r--r--src/sdp/abstraction.d8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sdp/abstraction.d b/src/sdp/abstraction.d
index c799fb7..d358f33 100644
--- a/src/sdp/abstraction.d
+++ b/src/sdp/abstraction.d
@@ -70,10 +70,11 @@ template SiSUabstraction() {
opts
);
static assert(!isTypeTuple!(da));
- static assert(da.length==3);
+ static assert(da.length==4);
auto doc_abstraction = da[0]; // head ~ toc ~ contents ~ endnotes_seg ~ glossary ~ bibliography ~ bookindex ~blurb;
string[][string] _document_section_keys_sequenced = da[1];
string[] _doc_html_segnames = da[2];
+ auto _images = da[3];
struct DocumentMatters {
string[] keys_seq_seg() {
string[] _k = _document_section_keys_sequenced["seg"];
@@ -103,6 +104,10 @@ template SiSUabstraction() {
string[] _k = _0_header_1_body_content_2_insert_filelist_tuple[2];
return _k;
}
+ auto image_list() {
+ auto _k = _images;
+ return _k;
+ }
auto opt_action_bool() {
bool[string] _k = opts;
return _k;
@@ -111,7 +116,6 @@ template SiSUabstraction() {
auto _k = env;
return _k;
}
- /+ add a list of images +/
}
auto doc_matters = DocumentMatters();
auto t = tuple(doc_abstraction, doc_matters);