aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
Diffstat (limited to 'org')
-rw-r--r--org/imports.org94
-rw-r--r--org/output_hub.org9
-rw-r--r--org/sdp.org43
3 files changed, 96 insertions, 50 deletions
diff --git a/org/imports.org b/org/imports.org
new file mode 100644
index 0000000..17819b8
--- /dev/null
+++ b/org/imports.org
@@ -0,0 +1,94 @@
+#+TITLE: sdp hub
+#+AUTHOR: Ralph Amissah
+#+EMAIL: ralph.amissah@gmail.com
+#+STARTUP: indent
+#+LANGUAGE: en
+#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
+#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
+#+OPTIONS: author:nil email:nil creator:nil timestamp:nil
+#+PROPERTY: header-args :padline no :exports code :noweb yes
+#+EXPORT_SELECT_TAGS: export
+#+EXPORT_EXCLUDE_TAGS: noexport
+#+FILETAGS: :sdp:rel:imports:
+#+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n)
+
+* 1. imports for ao
+
+#+NAME: version_txt
+#+BEGIN_SRC d :tangle ../src/sdp/imports_for_ao.d
+module sdp.imports_for_ao;
+public import
+ sdp.abstraction_summary,
+ sdp.ao_abstract_doc_source,
+ sdp.ao_conf_make_meta,
+ sdp.ao_conf_make_meta_native,
+ sdp.ao_conf_make_meta_sdlang,
+ sdp.ao_defaults,
+ sdp.ao_doc_debugs,
+ sdp.ao_read_config_files,
+ sdp.ao_read_source_files,
+ sdp.ao_rgx,
+ sdp.output_hub,
+ sdp.paths_source;
+/+ sdlang http://sdlang.org +/
+public import sdlang;
+/+ aarchive https://github.com/rcythr/archive +/
+public import
+ archive.core,
+ archive.zip;
+/+ std +/
+public import
+ // std.algorithm,
+ std.array,
+ // std.container,
+ std.digest.sha,
+ std.exception,
+ std.getopt,
+ std.process,
+ std.stdio,
+ // std.file,
+ // std.path,
+ std.range,
+ // std.range,
+ std.regex,
+ std.string,
+ std.traits,
+ std.typecons,
+ std.uni,
+ std.utf,
+ std.conv : to;
+#+END_SRC
+
+* 2. imports for output
+
+#+NAME: version_txt
+#+BEGIN_SRC d :tangle ../src/sdp/imports_for_output.d
+module sdp.imports_for_output;
+public import
+ std.regex,
+ std.algorithm,
+ std.array,
+ std.container,
+ std.exception,
+ std.getopt,
+ std.process,
+ std.stdio,
+ std.file,
+ std.path,
+ std.range,
+ std.regex,
+ std.string,
+ std.traits,
+ std.typecons,
+ std.uni,
+ std.utf;
+public import
+ sdp.defaults,
+ sdp.output_epub3,
+ sdp.output_html,
+ sdp.output_rgx,
+ sdp.output_xmls,
+ sdp.source_sisupod,
+ sdp.create_zip_file,
+ sdp.paths_output;
+#+END_SRC
diff --git a/org/output_hub.org b/org/output_hub.org
index e83b36d..4e66c59 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -55,14 +55,7 @@ private import
std.uni,
std.utf;
import
- sdp.defaults,
- sdp.output_epub3,
- sdp.output_html,
- sdp.output_rgx,
- sdp.output_xmls,
- sdp.source_sisupod,
- sdp.create_zip_file,
- sdp.paths_output;
+ sdp.imports_for_output;
#+END_SRC
** output options
diff --git a/org/sdp.org b/org/sdp.org
index 827a00f..e34c57b 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -87,19 +87,7 @@ unittest {
#+NAME: imports_sdp
#+BEGIN_SRC d
/+ sdp: sisu document parser, see http://sisudoc.org +/
-import
- sdp.abstraction_summary,
- sdp.ao_abstract_doc_source,
- sdp.ao_conf_make_meta,
- sdp.ao_conf_make_meta_native,
- sdp.ao_conf_make_meta_sdlang,
- sdp.ao_defaults,
- sdp.ao_doc_debugs,
- sdp.ao_read_config_files,
- sdp.ao_read_source_files,
- sdp.ao_rgx,
- sdp.output_hub,
- sdp.paths_source;
+import sdp.imports_for_ao;
#+END_SRC
****** notes
@@ -121,43 +109,14 @@ import
[[./output.org][output]]
[[./sdp.org][sdp]]
-***** sdlang :sdlang:
keep up to date, configuration in ../maker.org
check:
- http://github.com/Abscissa/SDLang-D
- https://github.com/abscissa/libInputVisitor
-#+NAME: imports_sdlang
-#+BEGIN_SRC d
-/+ sdlang http://sdlang.org +/
-import sdlang;
-#+END_SRC
-
-****** notes
-
sdlang.parser,
sdlang.exceptions;
-***** std :std:
-
-#+NAME: imports_std
-#+BEGIN_SRC d
-/+ std +/
-private import
- std.array,
- std.exception,
- std.getopt,
- std.process,
- std.stdio,
- std.regex,
- std.string,
- std.traits,
- std.typecons,
- std.utf,
- std.conv : to;
-#+END_SRC
-
-****** notes
std.conv,
std.variant,