From 0ce4e986fcd5af430d9f7bfdd625da7a58a1527e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 4 Feb 2020 17:10:57 -0500 Subject: imports related, mostly cosmetic --- org/spine.org | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) (limited to 'org/spine.org') diff --git a/org/spine.org b/org/spine.org index 72d3b1d..4b66711 100644 --- a/org/spine.org +++ b/org/spine.org @@ -84,21 +84,16 @@ version (Posix) { #+BEGIN_SRC d :tangle "../src/doc_reform/spine.d" :shebang "#!/usr/bin/env rdmd" <> module doc_reform.sisu_document_parser; -import - doc_reform.conf.compile_time_info, - doc_reform.meta.metadoc; -<> -import std.algorithm; -import std.parallelism; -<> -<> -string project_name = "spine"; -string program_name = "spine"; /++ name "spine" description "A SiSU inspired document parser writen in D." homepage "http://sisudoc.org" +/ +<> +<> +<> +string project_name = "spine"; +string program_name = "spine"; @system void main(string[] args) { <> <> @@ -107,6 +102,7 @@ homepage "http://sisudoc.org" if (_manifests.length > 1 // _manifests[0] initialized dummy element && _opt_action.abstraction) { if (_opt_action.parallelise) { // see else + import std.parallelism; foreach(manifest; parallel(_manifests[1..$])) { if (!empty(manifest.src.filename)) { <> @@ -219,13 +215,16 @@ homepage "http://sisudoc.org" #+NAME: imports_spine #+BEGIN_SRC d import + std.algorithm, std.datetime, std.getopt, std.file, std.path, std.process; import + doc_reform.conf.compile_time_info, doc_reform.meta, + doc_reform.meta.metadoc, doc_reform.meta.metadoc_harvest, doc_reform.meta.metadoc_harvests_authors, doc_reform.meta.metadoc_harvests_topics, @@ -241,6 +240,25 @@ import doc_reform.io_out.hub; #+END_SRC +***** spine__metadoc :spine: + +#+NAME: imports_spine_metadoc +#+BEGIN_SRC d +import + std.datetime; +import + doc_reform.meta, + doc_reform.meta.metadoc_from_src, + doc_reform.meta.conf_make_meta_structs, + doc_reform.meta.conf_make_meta_json, + doc_reform.meta.defaults, + doc_reform.meta.rgx, + doc_reform.io_in.paths_source, + doc_reform.io_in.read_config_files, + doc_reform.io_in.read_source_files, + doc_reform.io_out.hub; +#+END_SRC + ****** notes ├── src │   ├── doc_reform.d @@ -1176,7 +1194,7 @@ break; // terminate, stop #+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc.d" module doc_reform.meta.metadoc; template spineAbstraction() { - <> + <> <> enum headBody { header, body_content, insert_file_list, image_list } enum makeMeta { make, meta } -- cgit v1.2.3