From e31e98f5cc3c2289ad47198a506d8d03a063512c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 7 May 2017 16:07:11 -0400 Subject: 0.15.0 named modules --- org/ao_read_source_files.org | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'org/ao_read_source_files.org') diff --git a/org/ao_read_source_files.org b/org/ao_read_source_files.org index 134b64b..9b9e863 100644 --- a/org/ao_read_source_files.org +++ b/org/ao_read_source_files.org @@ -13,8 +13,8 @@ #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) [[./sdp.org][sdp]] [[./][org/]] -* 1. get config file :config: -** 0. config files, read in +* 1. get config file (read in) :module:sdp:ao_read_config_files: +** 0. module template #+BEGIN_SRC d :tangle ../src/sdp/ao_read_config_files.d /++ @@ -22,6 +22,7 @@ - read config files
ao_config_files.d +/ +module sdp.ao_read_config_files; template ConfigIn() { <> import std.file; @@ -157,9 +158,9 @@ final auto ConfigHub(C,E)(C conf_sdl, E env) { } #+END_SRC -* 2. get markup source, read file +* 2. get markup source, read file :module:sdp:ao_read_source_files: -** 0. ao_markup_source_raw.d: :ao_markup_source_raw: +** 0. module template #+BEGIN_SRC d :tangle ../src/sdp/ao_read_source_files.d /++ @@ -167,9 +168,10 @@ final auto ConfigHub(C,E)(C conf_sdl, E env) { - open markup files
- if master file scan for addional files to import/insert +/ +module sdp.ao_read_source_files; template SiSUrawMarkupContent() { private import - ao_rgx; + sdp.ao_rgx; <> mixin SiSUrgxInit; auto rgx = Rgx(); @@ -220,7 +222,7 @@ template SiSUrawMarkupContent() { <> } struct Inserts { - private import ao_defaults; + private import sdp.ao_defaults; auto scan_subdoc_source( char[][] markup_sourcefile_insert_content, string fn_src -- cgit v1.2.3